From 127a39e7edb69b54cc0ca0b4d421c63891d9ab1f Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Wed, 26 Nov 2003 01:08:03 +0000 Subject: [PATCH] Only present object property editor when selection is atomic. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@351 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/ui-sidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glabels2/src/ui-sidebar.c b/glabels2/src/ui-sidebar.c index e59b3d25..0b237036 100644 --- a/glabels2/src/ui-sidebar.c +++ b/glabels2/src/ui-sidebar.c @@ -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); -- 2.39.5