summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gurpm.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gurpm.pm b/gurpm.pm
index 48008891..11e07981 100644
--- a/gurpm.pm
+++ b/gurpm.pm
@@ -73,7 +73,9 @@ sub invalidate_cancel {
}
sub invalidate_cancel_forever {
- $hbox_cancel and $hbox_cancel->destroy;
+ $hbox_cancel or return;
+ $hbox_cancel->destroy;
+ $mainw->shrink_topwindow;
}
1;