fix apply_button visibility
This commit is contained in:
parent
9e28c9f87d
commit
cc54584ae4
@ -1488,6 +1488,7 @@ namespace Pamac {
|
||||
[GtkCallback]
|
||||
void on_apply_button_clicked () {
|
||||
transaction_running = true;
|
||||
apply_button.visible = false;
|
||||
transaction.run ();
|
||||
}
|
||||
|
||||
@ -1513,7 +1514,6 @@ namespace Pamac {
|
||||
|
||||
void on_start_transaction () {
|
||||
cancel_button.visible = false;
|
||||
apply_button.visible = false;
|
||||
}
|
||||
|
||||
void on_emit_action (string action) {
|
||||
|
@ -161,6 +161,7 @@ namespace Pamac {
|
||||
void on_apply_button_clicked () {
|
||||
transaction_running = true;
|
||||
transaction.sysupgrade (false);
|
||||
apply_button.visible = false;
|
||||
details_button.visible = true;
|
||||
cancel_button.visible = true;
|
||||
}
|
||||
@ -193,7 +194,6 @@ namespace Pamac {
|
||||
|
||||
void on_start_transaction () {
|
||||
cancel_button.visible = false;
|
||||
apply_button.visible = false;
|
||||
}
|
||||
|
||||
void on_emit_action (string action) {
|
||||
|
Loading…
Reference in New Issue
Block a user