Skip to content

Commit 9a7891e

Browse files
Another idea what might cause #1766
1 parent 6337d64 commit 9a7891e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wxMaxima.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -6208,7 +6208,9 @@ void wxMaxima::EditMenu(wxCommandEvent &event) {
62086208

62096209
ConfigDialogue *configW = new ConfigDialogue(this, &m_configuration);
62106210
configW->Centre(wxBOTH);
6211-
if (configW->ShowModal() == wxID_OK) {
6211+
auto result = configW->ShowModal();
6212+
m_configuration.SetWorkSheet(m_worksheet);
6213+
if (result == wxID_OK) {
62126214
configW->WriteSettings();
62136215
// Write the changes in the configuration to the disk.
62146216
config->Flush();

0 commit comments

Comments
 (0)