mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
minor fixes
This commit is contained in:
parent
2de982a5a2
commit
50ca09b3b4
2 changed files with 2 additions and 1 deletions
|
@ -2286,7 +2286,7 @@ void Application::onAboutToQuit() {
|
||||||
|
|
||||||
// Hide Running Scripts dialog so that it gets destroyed in an orderly manner; prevents warnings at shutdown.
|
// Hide Running Scripts dialog so that it gets destroyed in an orderly manner; prevents warnings at shutdown.
|
||||||
DependencyManager::get<OffscreenUi>()->hide("RunningScripts");
|
DependencyManager::get<OffscreenUi>()->hide("RunningScripts");
|
||||||
|
|
||||||
_aboutToQuit = true;
|
_aboutToQuit = true;
|
||||||
|
|
||||||
cleanupBeforeQuit();
|
cleanupBeforeQuit();
|
||||||
|
|
|
@ -192,6 +192,7 @@ ScriptEngine::ScriptEngine(Context context, const QString& scriptContents, const
|
||||||
break;
|
break;
|
||||||
case Context::AGENT_SCRIPT:
|
case Context::AGENT_SCRIPT:
|
||||||
_type = Type::AGENT;
|
_type = Type::AGENT;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
connect(this, &QScriptEngine::signalHandlerException, this, [this](const QScriptValue& exception) {
|
connect(this, &QScriptEngine::signalHandlerException, this, [this](const QScriptValue& exception) {
|
||||||
|
|
Loading…
Reference in a new issue