diff --git a/src/shell/shellcorona.cpp b/src/shell/shellcorona.cpp index 3f573b77c..57f987b34 100644 --- a/src/shell/shellcorona.cpp +++ b/src/shell/shellcorona.cpp @@ -498,7 +498,10 @@ void ShellCorona::showInteractiveConsole() void ShellCorona::loadScriptInInteractiveConsole(const QString &script) { - + showInteractiveConsole(); + if (d->console) { + d->console.data()->loadScript(script); + } } void ShellCorona::checkActivities()