Commit 11dc58db authored by Stefan Tauner's avatar Stefan Tauner
Browse files

FIJISettingsViewer: set focus on text entry field and select all characters

parent ce4b76eb
......@@ -1283,6 +1283,8 @@ sub _rename_fiu_dialog {
my $e = $rename_dialog->Entry(-text=>@{$self->{settings}->{fius}}[$i]->{'FIU_NAME'});
$e->pack(-side=>'bottom');
$e->selectionRange(0, 'end');
$rename_dialog->configure('-focus' => $e);
my $rv = $rename_dialog->Show();
if ($rv eq "OK" && (!$e->get() =~ /^[ ]*$/)) {
......
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