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

George Staikos staikos at kde.org
Sun May 28 20:27:13 CEST 2006


SVN commit 545995 by staikos:

set focus to the lineedit when a data reference is inserted


 M  +2 -0      ksteventmonitor_i.cpp  


--- branches/work/kst/viewupdates/kst/src/libkstapp/ksteventmonitor_i.cpp #545994:545995
@@ -56,7 +56,9 @@
   connect(_w->_vectorSelectorEq, SIGNAL(newVectorCreated(const QString&)), this, SIGNAL(modified()));
   connect(_w->_scalarSelectorEq, SIGNAL(newScalarCreated()), this, SIGNAL(modified()));
   connect(_w->_vectorSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(insert(const QString&)));
+  connect(_w->_vectorSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(setFocus()));
   connect(_w->_scalarSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(insert(const QString&)));
+  connect(_w->_scalarSelectorEq, SIGNAL(selectionChangedLabel(const QString&)), _w->lineEditEquation, SLOT(setFocus()));
   connect(_w->_pushButtonELOGConfigure, SIGNAL(clicked()), KstApp::inst(), SLOT(EventELOGConfigure()));
   
   // more multiple edit mode


More information about the Kst mailing list