[Kst] branches/work/kst/kst1kde4/kst/src/libkstapp

Zongyi Zhang freebody.kst at gmail.com
Mon Apr 19 20:16:09 CEST 2010


SVN commit 1116537 by zhang:

continue kst1kde4

 M  +4 -4      kstmatrixdialog.cpp  


--- branches/work/kst/kst1kde4/kst/src/libkstapp/kstmatrixdialog.cpp #1116536:1116537
@@ -1051,11 +1051,11 @@
     _fieldCompletion->insertItems(list);
   }
 */
-/* xxx
-  if (!current_text.isEmpty() && (list.contains(current_text) || _w->_field->editable())) {
-    _w->_field->setCurrentText(current_text);
+
+  if (!current_text.isEmpty() && (list.contains(current_text) || _w->_field->isEditable())) {
+    _w->_field->setItemText(_w->_field->currentIndex(), current_text);
   }
-*/
+
   _ok->setEnabled(_w->_field->isEnabled() || _editMultipleMode);
 }
 


More information about the Kst mailing list