[Kst] [Bug 143857] New: Save Data menu item does not appear to do anything

Barth Netterfield netterfield at astro.utoronto.ca
Thu Apr 5 16:27:22 CEST 2007


The "Save Data" option causes the data to be saved in the kst file, when a kst 
file is saved.  Ideally this would actually be a checkbox in the save dialog, 
not in the menu...

the following patch will make the check box work, but the feature's UI is 
still marginal..

Index: kst.cpp
===================================================================
--- kst.cpp     (revision 650125)
+++ kst.cpp     (working copy)
@@ -420,8 +420,9 @@
   connect(PauseAction, SIGNAL(toggled(bool)), this, 
SLOT(updatePausedState(bool)));

   /************/
-  _saveData = new KToggleAction(i18n("Save Da&ta"),"save_vector_data", 0,
-                                  actionCollection(), "save_vector_data");
+  //_saveData = new KToggleAction(i18n("Save Da&ta"),"save_vector_data", 0,
+  _saveData = new KToggleAction(i18n("Save Da&ta"), 0,0,0,0,
+                               actionCollection(), "save_vector_data");
   _saveData->setToolTip(i18n("Save Vector Data To Disk"));
   _saveData->setWhatsThis(i18n("When selected, data in vectors will be saved 
into the Kst file."));


More information about the Kst mailing list