summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-12 12:13:02 +0200
committerGitHub <noreply@github.com>2019-08-12 12:13:02 +0200
commite23f5e6415758e4eae0a5ba635afaba7d654c09f (patch)
tree5087d8324ad8f5be1a8e9480bed28c3358503488 /editor
parentb1de92fbdf0490d86e0cfbe24f8c30463afcc20a (diff)
parentf330add2b8e44a7d74dc243a7d71a8c7bc50386c (diff)
Merge pull request #31315 from fstiewitz/fix-find-in-files-crash
Fix crash on right click in "Find in Files" panel
Diffstat (limited to 'editor')
-rw-r--r--editor/find_in_files.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp
index 8665467f2d..cc2efb92ae 100644
--- a/editor/find_in_files.cpp
+++ b/editor/find_in_files.cpp
@@ -547,6 +547,7 @@ FindInFilesPanel::FindInFilesPanel() {
_results_display->connect("item_edited", this, "_on_item_edited");
_results_display->set_hide_root(true);
_results_display->set_select_mode(Tree::SELECT_ROW);
+ _results_display->set_allow_rmb_select(true);
_results_display->create_item(); // Root
vbc->add_child(_results_display);