Commit 46d05391 authored by Ömer Fadıl Usta's avatar Ömer Fadıl Usta 😊
Browse files

Fix trying to call a method on a still null object

parent afec6b29
......@@ -309,8 +309,9 @@ void SettingsBase::configShow()
if( activeView && activeView->moduleView() && !activeView->moduleView()->resolveChanges() ) {
return; // It shouldn't be triggering anyway, since the action is disabled
}
activeView->loadConfiguration();
if ( activeView ) {
activeView->loadConfiguration();
}
const QStringList pluginList = possibleViews.keys();
const int configIndex = pluginList.indexOf( BaseConfig::activeView() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment