[education/rkward] rkward: Fix create new script action

Thomas Friedrichsmeier null at kde.org
Thu Apr 21 14:36:29 BST 2022


Git commit e6d769e3b6a4c4a3f6861dfe55b96bb0e977fcbd by Thomas Friedrichsmeier.
Committed on 21/04/2022 at 13:36.
Pushed by tfry into branch 'master'.

Fix create new script action

M  +1    -1    rkward/rkward.cpp

https://invent.kde.org/education/rkward/commit/e6d769e3b6a4c4a3f6861dfe55b96bb0e977fcbd

diff --git a/rkward/rkward.cpp b/rkward/rkward.cpp
index 7b79269b..50a14847 100644
--- a/rkward/rkward.cpp
+++ b/rkward/rkward.cpp
@@ -938,7 +938,7 @@ void RKWardMainWindow::importData () {
 void RKWardMainWindow::slotNewCommandEditor () {
 	RK_TRACE (APP);
 
-	slotOpenCommandEditor (QUrl ());
+	RKWorkplace::mainWorkplace()->openScriptEditor();
 }
 
 void RKWardMainWindow::openAnyFile () {


More information about the rkward-tracker mailing list