[Kst] branches/work/kst/portto4/kst/src/widgets

Nicolas Brisset nicolas.brisset at eurocopter.com
Tue Jun 12 21:28:57 UTC 2012


SVN commit 1300158 by brisset:

As discussed on the list, keep color and width active at all times


 M  +2 -2      curveappearance.cpp  


--- branches/work/kst/portto4/kst/src/widgets/curveappearance.cpp #1300157:1300158
@@ -134,10 +134,10 @@
 
   // Line appearance options common to lines and bars
   enable = showLines() || showBars();
-  _color->setEnabled(enable);
+  // _color->setEnabled(enable); Leave color enabled, even if using only points since they also have a color
   _comboLineStyle->setEnabled(enable);
   //  _textLabelWeight->setEnabled(enable);
-  _spinBoxLineWidth->setEnabled(enable);
+  // _spinBoxLineWidth->setEnabled(enable); Leave lineWidth enabled, even if using only points since they also use this setting
   // Option specific to bars
   enable = showBars();
   _barFillColor->setEnabled(enable);


More information about the Kst mailing list