[rkward] rkward/windows: Fix argument hint model update bug
Thomas Friedrichsmeier
null at kde.org
Thu Feb 21 09:50:19 GMT 2019
Git commit 26f553209105d757b0987f15f1918db3d59f6e14 by Thomas Friedrichsmeier.
Committed on 21/02/2019 at 09:50.
Pushed by tfry into branch 'master'.
Fix argument hint model update bug
M +1 -0 rkward/windows/rkcodecompletion.cpp
https://commits.kde.org/rkward/26f553209105d757b0987f15f1918db3d59f6e14
diff --git a/rkward/windows/rkcodecompletion.cpp b/rkward/windows/rkcodecompletion.cpp
index e9329bb4..33c7fcee 100644
--- a/rkward/windows/rkcodecompletion.cpp
+++ b/rkward/windows/rkcodecompletion.cpp
@@ -607,6 +607,7 @@ void RKArgumentHintModel::updateCompletionList (RObject* _function, const QStrin
bool changed = false;
if (function != _function) {
beginResetModel ();
+ changed = true;
function = _function;
if (function && function->isType (RObject::Function)) {
// initialize hint
More information about the rkward-tracker
mailing list