diff options
-rw-r--r-- | mdkapplet_gui.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mdkapplet_gui.pm b/mdkapplet_gui.pm index 784c57a6..5f3cc6b9 100644 --- a/mdkapplet_gui.pm +++ b/mdkapplet_gui.pm @@ -73,10 +73,12 @@ sub fill_n_run_portable_dialog { my ($w, $widgets) = @_; # use wizard button order (for both 2008.1 & 2009.0): - local $::isWizard = 1; - local $w->{pop_it} = 0; - local $::isInstall = 1; - gtkadd($w->{window}, gtknew('VBox', children_tight => $widgets)); + { + local $::isWizard = 1; + local $w->{pop_it} = 0; + local $::isInstall = 1; + gtkadd($w->{window}, gtknew('VBox', children_tight => $widgets)); + } $w->{ok}->grab_focus; $w->main; |