Commit 62469b5a authored by Stefan Tauner's avatar Stefan Tauner
Browse files

FIJISettingsViewer: transfer focus if radio buttons to select drivers are pressed

parent ce7a163b
...@@ -1622,6 +1622,8 @@ sub _add_driver_radiobutton_list { ...@@ -1622,6 +1622,8 @@ sub _add_driver_radiobutton_list {
$driver_label->configure(-text => $conn->{str}); $driver_label->configure(-text => $conn->{str});
} else { } else {
$radio_button = $driver_container_pane->Radiobutton(-value => $conn, -variable => \$sel); $radio_button = $driver_container_pane->Radiobutton(-value => $conn, -variable => \$sel);
$radio_button->bind('<ButtonRelease-1>', sub { $radio_button->focus(); });
$driver_label = $driver_container_pane->Label(-text => $conn->{str}, -justify => "left"); $driver_label = $driver_container_pane->Label(-text => $conn->{str}, -justify => "left");
$radio_button->grid(-row => $i + 1, -column => 0); $radio_button->grid(-row => $i + 1, -column => 0);
$driver_label->grid(-row => $i + 1, -column => 1, -sticky => "w"); $driver_label->grid(-row => $i + 1, -column => 1, -sticky => "w");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment