[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Wed May 19 18:16:58 CEST 2004
CVS commit by arwalker:
Only add separator if necessary.
M +2 -2 kst2dplot.cpp 1.19
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.18:1.19
@@ -1692,8 +1692,8 @@ bool Kst2DPlot::popupMenu(KPopupMenu *me
KstViewObject::popupMenu(menu, pos, topLevelParent);
- menu->insertSeparator();
-
n_curves = Curves.count();
if( n_curves > 0 ) {
+ menu->insertSeparator();
+
if( _pMenuEditCurve == NULL ) {
_pMenuEditCurve = new KPopupMenu( );
More information about the Kst
mailing list