[Kst] extragear/graphics/kst/src/widgets

Andrew Walker arwalker at sumusltd.com
Fri May 5 01:01:42 CEST 2006


SVN commit 537501 by arwalker:

prevent warning message resulting from selection of invalid combo item

 M  +3 -1      curveappearancewidget.ui.h  


--- trunk/extragear/graphics/kst/src/widgets/curveappearancewidget.ui.h #537500:537501
@@ -63,7 +63,9 @@
         _combo->insertItem(ppix);
     }
 
-    _combo->setCurrentItem( currentItem );
+    if (currentItem > 0) {
+        _combo->setCurrentItem( currentItem );
+    }
 }
 
 


More information about the Kst mailing list