diff --git a/src/manager_window.vala b/src/manager_window.vala index 5198cd3..2bcb169 100644 --- a/src/manager_window.vala +++ b/src/manager_window.vala @@ -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) { diff --git a/src/updater_window.vala b/src/updater_window.vala index 488b445..99d8bce 100644 --- a/src/updater_window.vala +++ b/src/updater_window.vala @@ -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) {