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

Peter Kümmel syntheticpp at gmx.net
Sat Feb 12 21:26:37 CET 2011


SVN commit 1220072 by kuemmel:

more menu cleanup: all recents in file menu

 M  +3 -2      mainwindow.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/mainwindow.cpp #1220071:1220072
@@ -1184,8 +1184,10 @@
   _fileMenu->addAction(_saveAct);
   _fileMenu->addAction(_saveAsAct);
   _fileMenu->addAction(_closeAct);
-  _recentKstFilesMenu = _fileMenu->addMenu(tr("&Recent Files"));
   _fileMenu->addSeparator();
+  _recentKstFilesMenu = _fileMenu->addMenu(tr("&Recent Sessions"));
+  _recentDataFilesMenu = _fileMenu->addMenu("Recent D&ata Files");
+  _fileMenu->addSeparator();
   // Reload, isolate it a bit from the other entries to avoid inadvertent triggering
   _fileMenu->addAction(_reloadAct);
   _fileMenu->addSeparator();
@@ -1298,7 +1300,6 @@
   _toolsMenu = menuBar()->addMenu(tr("&Tools"));
   _toolsMenu->addAction(_dataManagerAct);
   _toolsMenu->addAction(_dataWizardAct);
-  _recentDataFilesMenu = _toolsMenu->addMenu("&Recent Data File");
   _toolsMenu->addAction(_changeFileDialogAct);
   _toolsMenu->addAction(_chooseColorDialogAct);
   _toolsMenu->addAction(_differentiateCurvesDialogAct);


More information about the Kst mailing list