From bf181c0b4d9898f2360b850762dfa817f2ef70cb Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 26 Feb 2014 13:17:50 +0100 Subject: [PATCH] restore loadScriptInInteractiveConsole() --- src/shell/shellcorona.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()