summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-15 14:04:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-15 14:04:10 +0000
commitc99c1df25f63be3d8f5ea8baff472038104026fd (patch)
tree2a3590f78f8c95da90b9b2f92e1d122927652913
parent6adf82a38c978e12dc32866f3520a6a5182aeb6e (diff)
downloaddrakx-c99c1df25f63be3d8f5ea8baff472038104026fd.tar
drakx-c99c1df25f63be3d8f5ea8baff472038104026fd.tar.gz
drakx-c99c1df25f63be3d8f5ea8baff472038104026fd.tar.bz2
drakx-c99c1df25f63be3d8f5ea8baff472038104026fd.tar.xz
drakx-c99c1df25f63be3d8f5ea8baff472038104026fd.zip
fix cancel on mouse choice
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index c2f649de7..30c26c283 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -222,7 +222,7 @@ sub selectMouse {
my $prev = $o->{mouse}{type} . '|' . $o->{mouse}{name};
$o->{mouse} = mouse::fullname2mouse(
$o->ask_from_treelist_('', _("Please, choose the type of your mouse."),
- '|', [ mouse::fullnames ], $prev)) if $force;
+ '|', [ mouse::fullnames ], $prev) || return) if $force;
if ($force && $o->{mouse}{type} eq 'serial') {
$o->set_help('selectSerialPort');