]> git.sur5r.net Git - glabels/commitdiff
Only present object property editor when selection is atomic.
authorJim Evins <evins@snaught.com>
Wed, 26 Nov 2003 01:08:03 +0000 (01:08 +0000)
committerJim Evins <evins@snaught.com>
Wed, 26 Nov 2003 01:08:03 +0000 (01:08 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@351 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/ui-sidebar.c

index e59b3d2536dff306e81d4fd1284c5ed955cb7f8a..0b23703616eaee739949864dadf64aa3b10fe960 100644 (file)
@@ -226,7 +226,7 @@ selection_changed_cb (glView      *view,
 
        gtk_container_remove (GTK_CONTAINER(sidebar), sidebar->child);
 
-       if (gl_view_is_selection_empty (view)) {
+       if (gl_view_is_selection_empty (view) || !gl_view_is_selection_atomic (view)) {
 
                sidebar->child = gtk_widget_ref (sidebar->empty_child);