summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-24 10:38:58 +0200
committerGitHub <noreply@github.com>2019-09-24 10:38:58 +0200
commit73c7b9a69e661f5a8173c9ffeeadb4c00056ca5d (patch)
tree42aeaf914e87204c21b9f63aeb9f6ef660c1873e /editor
parent5c0de2c2498e17adde58e87ba46827ad1a73f698 (diff)
parent76dd021a30ae099f3898cdda3c27332748622457 (diff)
Merge pull request #32283 from Calinou/project-manager-no-open-ctrl-double-click
Don't open a project in the list if Ctrl is held while double-clicking
Diffstat (limited to 'editor')
-rw-r--r--editor/project_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index e2527a4039..f70dcab931 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -1689,7 +1689,7 @@ void ProjectList::_panel_input(const Ref<InputEvent> &p_ev, Node *p_hb) {
emit_signal(SIGNAL_SELECTION_CHANGED);
- if (mb->is_doubleclick()) {
+ if (!mb->get_control() && mb->is_doubleclick()) {
emit_signal(SIGNAL_PROJECT_ASK_OPEN);
}
}