FLUID: fixing settings dialog update
This commit is contained in:
parent
e68f5e6c42
commit
371ff17639
@ -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;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user