ScriptEngineContext fixed

This commit is contained in:
Arin Alexander 2018-01-26 18:04:58 +03:00
parent f8eb1ceb97
commit 5b81a75d3c

View File

@ -1337,7 +1337,6 @@ void ScriptEngineContext::initDialogs(){
bool ScriptEngineContext::runInitScript(){ bool ScriptEngineContext::runInitScript(){
ScriptEngineType* engine = ScriptEngineManager::instance().scriptEngine(); ScriptEngineType* engine = ScriptEngineManager::instance().scriptEngine();
ScriptEngineManager::instance().clearTableOfContents();
ScriptEngineManager::instance().setContext(this); ScriptEngineManager::instance().setContext(this);
m_tableOfContents->clear(); m_tableOfContents->clear();