summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 6445b39b5..b10aba394 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -407,7 +407,10 @@ sub ask_fromW {
$w->signal_connect(clicked => sub {
$get_all->();
$mainw->{rwindow}->hide;
- $e->{clicked}();
+ if (my $v = $e->{clicked_may_quit}()) {
+ $o->{retval} = $v;
+ Gtk->main_quit;
+ }
$mainw->{rwindow}->show;
$set_all->();
});