tMake skip button insensitive when it is not needed - transliterate - Transliteration engine
HTML git clone git://lumidify.org/transliterate.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a0dfda074fc11ce505d269ae27bee6e1c4ca29e0
DIR parent 529459930dc140ea7d86af417b6c52b9c9285792
HTML Author: lumidify <nobody@lumidify.org>
Date: Tue, 14 Apr 2020 10:29:00 +0200
Make skip button insensitive when it is not needed
Diffstat:
M transliterate.pl | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/transliterate.pl b/transliterate.pl
t@@ -399,6 +399,7 @@ sub prompt_choose_word {
$accept->show;
$accept->grab_focus;
$wordlabel->set_text("");
+ $skip_button->set_sensitive(FALSE);
};
my $fill_button_vbox; # forward-declaration so it can be used here already
t@@ -455,6 +456,7 @@ sub prompt_choose_word {
$fill_button_vbox->();
$fill_text_buffer->();
$accept->hide;
+ $skip_button->set_sensitive(TRUE);
my $word = $replacements[$cur_replacement]->[1];
$wordlabel->set_text("Word \"$word\" has multiple replacement options:");
}