summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index b34b2117..e476db31 100755
--- a/control-center
+++ b/control-center
@@ -1154,7 +1154,7 @@ foreach (@tree) {
}
);
$event_box->set_events([ 'enter_notify_mask', 'leave_notify_mask', 'button_press_mask', 'button_release_mask' ]);
- $tool_feedback{$label} = sub { $event_box->window->set_cursor($hand_cursor) };
+ $tool_feedback{$label} = sub { $event_box->window && $event_box->window->set_cursor($hand_cursor) };
$event_box;
} @subtree));