summaryrefslogtreecommitdiff
path: root/fluid/shell_command.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-09 12:40:45 +0100
committerMatthias Melcher <git@matthiasm.com>2021-12-09 12:42:56 +0100
commitace6a64161a51b868557ec307364700e5d2080a1 (patch)
treee91067922670b84428bb9835239cfd53592c7605 /fluid/shell_command.cxx
parent08e59770aa2be8e3aa91c0593e91f5d19f007bc3 (diff)
Fluid STR 3460.D: making dialog more interactive.
Diffstat (limited to 'fluid/shell_command.cxx')
-rw-r--r--fluid/shell_command.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/fluid/shell_command.cxx b/fluid/shell_command.cxx
index af7e0ef64..14e46ab05 100644
--- a/fluid/shell_command.cxx
+++ b/fluid/shell_command.cxx
@@ -342,13 +342,20 @@ void do_shell_command(Fl_Return_Button*, void*) {
Fluid app settings are saved per user and per machine.
*/
void show_shell_window() {
+ update_shell_window();
+ shell_window->hotspot(shell_command_input);
+ shell_window->show();
+}
+
+/**
+ Update the shell properties dialog box.
+ */
+void update_shell_window() {
shell_command_input->value(g_shell_command);
shell_savefl_button->value(g_shell_save_fl);
shell_writecode_button->value(g_shell_save_code);
shell_writemsgs_button->value(g_shell_save_strings);
shell_use_fl_button->value(g_shell_use_fl_settings);
- shell_window->hotspot(shell_command_input);
- shell_window->show();
}
/**