The debug window should only be shown if the "gui_debugging" option is set in the preferences, not the "always_use_simpleblock" option.

This commit is contained in:
Moritz Bunkus 2006-06-16 11:28:37 +00:00
parent 3e89d7cc44
commit 42d0222ce5

View File

@ -250,9 +250,9 @@ tab_settings::load_preferences() {
cb_warn_usage->SetValue(b);
cfg->Read(wxT("gui_debugging"), &b, false);
cb_gui_debugging->SetValue(b);
mdlg->log_window->Show(b);
cfg->Read(wxT("always_use_simpleblock"), &b, false);
cb_always_use_simpleblock->SetValue(b);
mdlg->log_window->Show(b);
}
void