summaryrefslogtreecommitdiff
path: root/riscos/treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/treeview.c')
-rw-r--r--riscos/treeview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/treeview.c b/riscos/treeview.c
index 0104b390f..26980a2e6 100644
--- a/riscos/treeview.c
+++ b/riscos/treeview.c
@@ -830,7 +830,7 @@ void ro_gui_tree_toolbar_click(wimp_pointer* pointer, struct tree *tree) {
return;
}
- if ((pointer->i < 0) && (current_toolbar)) {
+ if (current_toolbar->editor) {
ro_gui_theme_toolbar_editor_click(tree->toolbar, pointer);
return;
}