From d1e87a38623166ea9de7e9dada38fd48c201a1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 22 Sep 2011 12:10:56 +0000 Subject: [PATCH] Clear scripting window after executing core scripts git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12431 383ad7c9-94d9-4d36-a494-682f7c89f535 --- Core/openFunctions.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/openFunctions.cc b/Core/openFunctions.cc index 04388a8e..bf785b89 100644 --- a/Core/openFunctions.cc +++ b/Core/openFunctions.cc @@ -152,6 +152,9 @@ void Core::slotExecuteAfterStartup() { if ( scriptFiles[i].endsWith("ofs",Qt::CaseInsensitive) ) emit executeFileScript(scriptDir.path() + "/" + scriptFiles[i]); + // Clear scripting window afterexecuting the coresubdir scripts + bool ok = false; + slotCall( "scripting" ,"clearEditor()",ok); } // Open all files given at the commandline -- GitLab