summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/input_python.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/input_python.cpp')
-rw-r--r--superkaramba/src/input_python.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/superkaramba/src/input_python.cpp b/superkaramba/src/input_python.cpp
index fc1d9ad..d839536 100644
--- a/superkaramba/src/input_python.cpp
+++ b/superkaramba/src/input_python.cpp
@@ -348,7 +348,7 @@ PyObject* py_getInputFocus(PyObject *, PyObject *args)
//
TQWidget *obj = ((karamba*)widget)->focusWidget();
- if(obj->isA("TQLineEdit")) // SKLineEdit is no Q_Object, but TQLineEdit can only be here as a SKLineEdit
+ if(obj->isA(TQLINEEDIT_OBJECT_NAME_STRING)) // SKLineEdit is no Q_Object, but TQLineEdit can only be here as a SKLineEdit
return Py_BuildValue((char*)"l", ((SKLineEdit*)obj)->getInput());
return Py_BuildValue((char*)"l", 0);