[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Mar 18 20:11:24 CET 2005


CVS commit by staikos: 

make setDirty() more implicit


  M +0 -2      datawizard.ui.h   1.127
  M +3 -0      kst2dplot.cpp   1.382


--- kdeextragear-2/kst/kst/datawizard.ui.h  #1.126:1.127
@@ -763,5 +763,4 @@ void DataWizard::finished()
                 KST::dataObjectList.lock().writeUnlock();
                 plot->addCurve(c.data());
-                plot->setDirty();
                 plot->setLog(_psdLogX->isChecked(),_psdLogY->isChecked());
                 if (!_onePlot->isChecked()) { // change plots if we are not onePlot
@@ -791,5 +790,4 @@ void DataWizard::finished()
             continue;
         }
-        pp->setDirty();
         pp->GenerateDefaultLabels();
         if (!xl) {

--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.381:1.382
@@ -630,4 +630,5 @@ void Kst2DPlot::initFonts(const QFont& i
 
 void Kst2DPlot::setTopLabel(const QString& in_label) {
+  setDirty();
   TopLabel->setText(in_label);
 }
@@ -635,4 +636,5 @@ void Kst2DPlot::setTopLabel(const QStrin
 
 void Kst2DPlot::setXLabel(const QString& in_label) {
+  setDirty();
   XLabel->setText(in_label);
 }
@@ -640,4 +642,5 @@ void Kst2DPlot::setXLabel(const QString&
 
 void Kst2DPlot::setYLabel(const QString& in_label) {
+  setDirty();
   YLabel->setText(in_label);
 }




More information about the Kst mailing list