diff --git a/src/manager_window.vala b/src/manager_window.vala index a71dda9..dc7ac29 100644 --- a/src/manager_window.vala +++ b/src/manager_window.vala @@ -1432,7 +1432,7 @@ namespace Pamac { [GtkCallback] void on_menu_button_toggled () { - preferences_button.visible = !transaction_running; + preferences_button.sensitive = !transaction_running; } [GtkCallback] diff --git a/src/updater_window.vala b/src/updater_window.vala index 6bedfee..b19be4a 100644 --- a/src/updater_window.vala +++ b/src/updater_window.vala @@ -152,7 +152,7 @@ namespace Pamac { [GtkCallback] void on_menu_button_toggled () { - preferences_button.visible = !transaction_running; + preferences_button.sensitive = !transaction_running; } [GtkCallback]