[Kst] extragear/graphics/kst/kst/datasources/healpix

Ted Kisner tskisner.public at gmail.com
Sun Nov 6 23:04:17 CET 2005


SVN commit 478484 by tskisner:

Make sure to load the current datasource parameters (not just the saved, per-file global config) when initializing the config widget.

 M  +2 -0      healpix.cpp  


--- trunk/extragear/graphics/kst/kst/datasources/healpix/healpix.cpp #478483:478484
@@ -1274,6 +1274,8 @@
         KstSharedPtr<HealpixSource> src = kst_cast<HealpixSource>(_instance);
         assert(src);        
         _cfg->setGroup(src->fileName());
+        // set the config to the current datasource values
+        src->saveConfig(_cfg);
         _hc->matDimX->setValue(_cfg->readNumEntry("Matrix X Dimension", DEFAULT_XDIM));
         _hc->matDimY->setValue(_cfg->readNumEntry("Matrix Y Dimension", DEFAULT_YDIM));
         _hc->matThetaAuto->setChecked(_cfg->readBoolEntry("Theta Autoscale", true));


More information about the Kst mailing list