Commit 66cb69f2 authored by Stefan Tauner's avatar Stefan Tauner
Browse files

FIJISettingsViewer: bind ESC to cancel button in net selection dialogs

parent 62469b5a
......@@ -1592,6 +1592,7 @@ sub _select_net_dialog {
-buttons => [qw/~OK ~Cancel/],
);
$select_net_dialog->bind('<Return>', => sub {});
$select_net_dialog->bind('<Escape>' => [$select_net_dialog->Subwidget("B_Cancel"), 'Invoke']);
my $sel = $select_net_dialog->FIJINetSelection(-nets =>$self->{'nets'}, -selected_nets_listref=>$netname_listref, -select_multiple=>$select_multiple);
$sel->pack(-expand=>1,-fill=>'both',-padx=>5,-pady=>5);
......
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