1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-04-04 07:43:22 -04:00

Only gives $mtab a value on cancel if it is a bootloader check.

This commit is contained in:
freesource 2001-11-26 08:22:34 +00:00
parent 306cbc8cd0
commit d1cd32b44d

View File

@ -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;
}