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

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Thu Apr 5 16:25:08 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143857         




------- Additional Comments From netterfield astro utoronto ca  2007-04-05 16:25 -------
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