make preferences menu unsensitive when a transaction is running
This commit is contained in:
parent
310bc962a9
commit
2c1910d6b8
@ -1432,7 +1432,7 @@ namespace Pamac {
|
||||
|
||||
[GtkCallback]
|
||||
void on_menu_button_toggled () {
|
||||
preferences_button.visible = !transaction_running;
|
||||
preferences_button.sensitive = !transaction_running;
|
||||
}
|
||||
|
||||
[GtkCallback]
|
||||
|
@ -152,7 +152,7 @@ namespace Pamac {
|
||||
|
||||
[GtkCallback]
|
||||
void on_menu_button_toggled () {
|
||||
preferences_button.visible = !transaction_running;
|
||||
preferences_button.sensitive = !transaction_running;
|
||||
}
|
||||
|
||||
[GtkCallback]
|
||||
|
Loading…
Reference in New Issue
Block a user