[rkward/frameworks] rkward/windows: Fix code-hinting not enabled in script windows.

Thomas Friedrichsmeier null at kde.org
Tue Jun 27 09:59:45 UTC 2017


Git commit b890e18d58d4ab9c88282ffdd96d34ef495583ba by Thomas Friedrichsmeier.
Committed on 27/06/2017 at 09:59.
Pushed by tfry into branch 'frameworks'.

Fix code-hinting not enabled in script windows.

M  +1    -1    rkward/windows/rkworkplace.cpp

https://commits.kde.org/rkward/b890e18d58d4ab9c88282ffdd96d34ef495583ba

diff --git a/rkward/windows/rkworkplace.cpp b/rkward/windows/rkworkplace.cpp
index 45ee406c..e38256c4 100644
--- a/rkward/windows/rkworkplace.cpp
+++ b/rkward/windows/rkworkplace.cpp
@@ -450,7 +450,7 @@ RKMDIWindow* RKWorkplace::openScriptEditor (const QUrl &url, const QString& enco
 		}
 	}
 
-	RKCommandEditorWindow *editor = new RKCommandEditorWindow (view (), url, encoding, use_r_highlighting, read_only, delete_on_close);
+	RKCommandEditorWindow *editor = new RKCommandEditorWindow (view (), url, encoding, use_r_highlighting, use_r_highlighting, read_only, delete_on_close);
 
 	if (!force_caption.isEmpty ()) editor->setCaption (force_caption);
 	addWindow (editor);



More information about the rkward-tracker mailing list