diff --git a/src/qt/dash.cpp b/src/qt/dash.cpp index 2e49b514b..cb3c3375a 100644 --- a/src/qt/dash.cpp +++ b/src/qt/dash.cpp @@ -372,7 +372,7 @@ BitcoinApplication::~BitcoinApplication() #endif // Delete Qt-settings if user clicked on "Reset Options" QSettings settings; - if(optionsModel->resetSettings){ + if(optionsModel && optionsModel->resetSettings){ settings.clear(); settings.sync(); }