[education/rkward] rkward/core: Fix completion for names starting with '.' but not number

Thomas Friedrichsmeier null at kde.org
Mon Jun 6 21:12:30 BST 2022


Git commit 73dfa0111405494cdcb773e4e5e23500c04908bb by Thomas Friedrichsmeier.
Committed on 06/06/2022 at 20:12.
Pushed by tfry into branch 'master'.

Fix completion for names starting with '.' but not number

M  +1    -0    rkward/core/robject.cpp

https://invent.kde.org/education/rkward/commit/73dfa0111405494cdcb773e4e5e23500c04908bb

diff --git a/rkward/core/robject.cpp b/rkward/core/robject.cpp
index 1e95990f..8cd591c2 100644
--- a/rkward/core/robject.cpp
+++ b/rkward/core/robject.cpp
@@ -68,6 +68,7 @@ bool RObject::irregularShortName (const QString &name) {
 			if(c == '.') {
 				if(len > 1 && name[1].isDigit()) return true;
 				if(name == QStringLiteral("...")) return true;
+				continue;
 			}
 		} else {
 			if(c.isDigit()) continue;


More information about the rkward-tracker mailing list