summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center6
1 files changed, 4 insertions, 2 deletions
diff --git a/control-center b/control-center
index f13f31ee..4d555467 100755
--- a/control-center
+++ b/control-center
@@ -1077,8 +1077,10 @@ my @menu_items = (
my $pos = $notebook_global && $notebook_global->get_current_page;
refresh_tree(1);
if ($notebook_global) {
- $notebook_global->show_all;
- $notebook_global->queue_draw;
+ if (!$emb_socket) {
+ $notebook_global->show_all;
+ $notebook_global->queue_draw;
+ }
# restore previous position:
$notebook_global->set_current_page($pos) if $pos != -1;
}