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

Barth Netterfield netterfield at astro.utoronto.ca
Mon Jun 18 20:43:18 UTC 2012


SVN commit 1301731 by netterfield:

When leaving edit multiple mode, take the check boxes out of tristate
mode.


 M  +4 -0      curveappearance.cpp  


--- branches/work/kst/portto4/kst/src/widgets/curveappearance.cpp #1301730:1301731
@@ -176,6 +176,7 @@
 
 void CurveAppearance::setShowLines(const bool showLines) {
   _showLines->setChecked(showLines);
+  _showLines->setTristate(false);
   enableSettings();
   drawSampleLine();
 }
@@ -193,6 +194,7 @@
 
 void CurveAppearance::setShowPoints(const bool showPoints) {
   _showPoints->setChecked(showPoints);
+  _showPoints->setTristate(false);
   enableSettings();
   drawSampleLine();
 }
@@ -210,6 +212,7 @@
 
 void CurveAppearance::setShowHead(const bool showHead) {
   _showHead->setChecked(showHead);
+  _showHead->setTristate(false);
   enableSettings();
   drawSampleLine();
 }
@@ -227,6 +230,7 @@
 
 void CurveAppearance::setShowBars(const bool showBars) {
   _showBars->setChecked(showBars);
+  _showBars->setTristate(false);
   enableSettings();
   drawSampleLine();
 }


More information about the Kst mailing list