diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-11-19 23:04:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-11-19 23:04:41 +0000 |
commit | 30db14621a97a66eb3bf6660621e558ecaf41e85 (patch) | |
tree | 0617bed3b2077000a89a2672213030c1ca5f150b /perl-install/install_steps_interactive.pm | |
parent | 386deeb0a41c1829a35f8b08a1ffb33ef65387a9 (diff) | |
download | drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.gz drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.bz2 drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.xz drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.zip |
no_comment
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 3 |
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"), |