Fix access violation trying to use already destroyed context

This commit is contained in:
Roland Winklmeier
2016-05-18 17:33:02 +02:00
parent 1ffb910529
commit 675255acf6

View File

@@ -84,10 +84,7 @@ namespace BlackGui
}
CSettingsSimulatorComponent::~CSettingsSimulatorComponent()
{
if (!m_enabledSimulators.isSaved())
sGui->getIContextApplication()->saveSettings(m_enabledSimulators.getKey());
}
{ }
void CSettingsSimulatorComponent::setGuiValues()
{