mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
added scriptEnding callback
This commit is contained in:
parent
c404a36439
commit
18ded1d7db
2 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,7 @@ void ScriptEngine::run() {
|
|||
qDebug() << "Uncaught exception at line" << line << ":" << _engine.uncaughtException().toString();
|
||||
}
|
||||
}
|
||||
emit scriptEnding();
|
||||
cleanMenuItems();
|
||||
|
||||
// If we were on a thread, then wait till it's done
|
||||
|
|
|
@ -57,7 +57,9 @@ public slots:
|
|||
signals:
|
||||
void willSendAudioDataCallback();
|
||||
void willSendVisualDataCallback();
|
||||
void scriptEnding();
|
||||
void finished();
|
||||
|
||||
protected:
|
||||
QString _scriptContents;
|
||||
bool _isFinished;
|
||||
|
|
Loading…
Reference in a new issue