summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-19 23:04:41 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-19 23:04:41 +0000
commit30db14621a97a66eb3bf6660621e558ecaf41e85 (patch)
tree0617bed3b2077000a89a2672213030c1ca5f150b /perl-install/install_steps_interactive.pm
parent386deeb0a41c1829a35f8b08a1ffb33ef65387a9 (diff)
downloaddrakx-backup-do-not-use-30db14621a97a66eb3bf6660621e558ecaf41e85.tar
drakx-backup-do-not-use-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.gz
drakx-backup-do-not-use-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.bz2
drakx-backup-do-not-use-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.xz
drakx-backup-do-not-use-30db14621a97a66eb3bf6660621e558ecaf41e85.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 1e50b75a3..f6b5a9f9e 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -138,8 +138,7 @@ sub selectMouse {
$name = $o->ask_from_list_('', _("What is the type of your mouse?"), [ mouse::names() ], $name);
$o->{mouse} = mouse::name2mouse($name);
}
- my $b = $o->{mouse}{nbuttons} < 3;
- $o->{mouse}{XEMU3} = 'yes' if $::expert && $o->ask_yesorno('', _("Emulate third button?"), $b) || $b;
+ $o->{mouse}{XEMU3} = 'yes' if $o->{mouse}{nbuttons} < 3 && (!$::expert || $o->ask_yesorno('', _("Emulate third button?"), 1));
$o->{mouse}{device} = mouse::serial_ports_names2dev(
$o->ask_from_list(_("Mouse Port"),