Commit 1ac1d414 authored by guinux's avatar guinux

fix details button

parent 7acfa49b
......@@ -2564,14 +2564,7 @@ namespace Pamac {
[GtkCallback]
void on_details_button_clicked () {
important_details = false;
if (transaction_running || sysupgrade_running) {
main_stack.visible_child_name = "term";
} else {
uint total_pending = to_install.length + to_remove.length + to_build.length;
if (total_pending == 0) {
main_stack.visible_child_name = "term";
}
}
main_stack.visible_child_name = "term";
}
[GtkCallback]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment