[Kst] extragear/graphics/kst/kst
Rick Chern
rchern at interchange.ubc.ca
Mon Jul 18 21:51:26 CEST 2005
SVN commit 435978 by rchern:
Always enable the delete menu item when it is present
CCMAIL: 109279-done at bugs.kde.org
M +1 -2 kstdatamanager_i.cpp
--- trunk/extragear/graphics/kst/kst/kstdatamanager_i.cpp #435977:435978
@@ -842,7 +842,7 @@
m->insertTitle(koi->text(0));
int id;
- if (koi->rtti() != RTTI_OBJ_VECTOR) {
+ if (koi->rtti() != RTTI_OBJ_VECTOR && koi->rtti() != RTTI_OBJ_MATRIX) {
id = m->insertItem(i18n("&Edit..."), this, SLOT(edit_I()));
}
@@ -966,7 +966,6 @@
if (koi->rtti() != RTTI_OBJ_VECTOR && koi->rtti() != RTTI_OBJ_MATRIX) {
// no slave vectors or matrices get this
id = m->insertItem(i18n("&Delete"), this, SLOT(delete_I()));
- m->setItemEnabled(id, koi->removable());
}
m->popup(p);
More information about the Kst
mailing list