Fix CutterCore::loadScript() for sleeping

This commit is contained in:
Florian Märkl 2018-09-23 21:57:20 +02:00
parent 874755d39a
commit 96bf32b86a

View File

@ -2120,7 +2120,9 @@ QList<DisassemblyLine> CutterCore::disassembleLines(RVA offset, int lines)
void CutterCore::loadScript(const QString &scriptname)
{
r_core_task_sync_begin(core_);
r_core_cmd_file(core_, scriptname.toUtf8().constData());
r_core_task_sync_end(core_);
}
QString CutterCore::getVersionInformation()