Commit 01d38ccd authored by Jan Möbius's avatar Jan Möbius
Browse files

Apply global options only when loaded

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4586 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c175372c
...@@ -363,10 +363,12 @@ void Core::loadSettings(){ ...@@ -363,10 +363,12 @@ void Core::loadSettings(){
loadProgramSettings->isChecked(), loadProgramSettings->isChecked(),
loadPluginSettings->isChecked(), loadPluginSettings->isChecked(),
loadObjectInfo->isChecked()); loadObjectInfo->isChecked());
applyOptions(); if ( loadProgramSettings->isChecked() )
applyOptions();
} else if ( complete_name.endsWith("obj") ) { } else if ( complete_name.endsWith("obj") ) {
openObjFile(complete_name); openObjFile(complete_name);
applyOptions(); if ( loadProgramSettings->isChecked() )
applyOptions();
} }
coreWidget_->addRecent(complete_name, DATA_NONE); coreWidget_->addRecent(complete_name, DATA_NONE);
......
Supports Markdown
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