From d1cd32b44d3a6f890816e011afa74e1b600ff3d8 Mon Sep 17 00:00:00 2001 From: freesource Date: Mon, 26 Nov 2001 08:22:34 +0000 Subject: [PATCH] Only gives $mtab a value on cancel if it is a bootloader check. --- gbootroot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gbootroot b/gbootroot index 54a63fd..9b2b612 100755 --- a/gbootroot +++ b/gbootroot @@ -3993,7 +3993,8 @@ sub mtab_window { $button->grab_default; $button->show; $button = Gtk::Button->new("Cancel"); - $button->signal_connect("clicked", sub { destroy $mtab; $mtab = 2; } ); + $button->signal_connect("clicked", sub { destroy $mtab; + $mtab = 2 if $count == 3; } ); $mtab->action_area->pack_start($button, $false, $false,0); $button->show; }