summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 115d424)
raw | patch | inline | side by side (parent: 115d424)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 1 Apr 2007 22:34:28 +0000 (22:34 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 1 Apr 2007 22:34:28 +0000 (22:34 +0000) |
src/interface.cpp | patch | blob | history |
diff --git a/src/interface.cpp b/src/interface.cpp
index ac896751311bc13450f2301ffa807f428e8cdfc0..c6b2aaf8601fac20fb8794edd704a954847b1116 100644 (file)
--- a/src/interface.cpp
+++ b/src/interface.cpp
}
if (( group && group != dt->currentLayer() ) ||
- ( dt->currentLayer() != dt->currentRoot() ) ) {
+ ( dt->currentLayer() != dt->currentRoot() && SP_OBJECT_PARENT(dt->currentLayer()) != dt->currentRoot() ) ) {
+ /* Separator */
sp_ui_menu_append_item(GTK_MENU(m), NULL, NULL, NULL, NULL, NULL, NULL);
}