summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-09-27 13:14:09 +0200
committerMatthias Melcher <github@matthiasm.com>2023-09-27 13:14:09 +0200
commit371ff176394f1a78237d18678f1337a7cf1766e7 (patch)
treeb8220858ea5be3e552ec0c1b851a71d4e29ea5a8
parente68f5e6c425f12bc448ddb8d8bfc48bc5b1db0de (diff)
FLUID: fixing settings dialog update
-rw-r--r--fluid/file.cxx2
-rw-r--r--fluid/fluid.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx
index d93a71a1a..d58995550 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -418,6 +418,8 @@ int Fd_Project_Reader::read_project(const char *filename, int merge, Strategy st
g_shell_config->rebuild_shell_menu();
g_shell_config->update_settings_dialog();
}
+ g_layout_list.update_dialogs();
+ g_project.update_settings_dialog();
int ret = close_read();
undo_resume();
return ret;
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx
index d0201874b..5b0666d08 100644
--- a/fluid/fluid.cxx
+++ b/fluid/fluid.cxx
@@ -319,8 +319,6 @@ void Fluid_Project::reset() {
void Fluid_Project::update_settings_dialog() {
if (settings_window) {
w_settings_project_tab->do_callback(w_settings_project_tab, LOAD);
- w_settings_layout_tab->do_callback(w_settings_layout_tab, LOAD);
- w_settings_shell_tab->do_callback(w_settings_shell_tab, LOAD);
w_settings_i18n_tab->do_callback(w_settings_i18n_tab, LOAD);
}
}
@@ -1065,7 +1063,6 @@ bool merge_project_file(const Fl_String &filename_arg) {
undo_clear();
}
if (oldfilename) free((void *)oldfilename);
- g_project.update_settings_dialog();
return true;
}