[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Wed Dec 17 02:10:59 CET 2003


CVS commit by arwalker: 

Do not modify the selected point style when the user selects a new colour.


  M +6 -1      curveappearancewidget.ui.h   1.4


--- kdeextragear-2/kst/kst/curveappearancewidget.ui.h  #1.3:1.4
@@ -31,8 +31,11 @@ void CurveAppearanceWidget::fillCombo()
 {
   KstPoint tmppoint;
+  int iCurrentItem;
 
   /* fill the point type dialog with point types */
   QPixmap ppix(20,10);
   QPainter pp(&ppix);
+  
+  iCurrentItem = _combo->currentItem( );
   _combo->clear();
   pp.setPen(color());
@@ -44,4 +47,6 @@ void CurveAppearanceWidget::fillCombo()
     _combo->insertItem(ppix);
   }
+  
+  _combo->setCurrentItem( iCurrentItem );
 }
 





More information about the Kst mailing list