Fix mistake in settings dialog (not printing errors)
This commit is contained in:
parent
e825585871
commit
a9c02ae58d
1 changed files with 1 additions and 1 deletions
|
@ -1595,7 +1595,7 @@ void wxeditor_esettings_advanced::on_change(wxCommandEvent& e)
|
||||||
try {
|
try {
|
||||||
setting::set(name, value);
|
setting::set(name, value);
|
||||||
} catch(std::exception& e) {
|
} catch(std::exception& e) {
|
||||||
wxMessageBox(towxstring(err), wxT("Error setting value"), wxICON_EXCLAMATION | wxOK);
|
wxMessageBox(towxstring(e.what()), wxT("Error setting value"), wxICON_EXCLAMATION | wxOK);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue