summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-09-23 17:25:37 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-09-23 17:25:37 +0200
commit76dd021a30ae099f3898cdda3c27332748622457 (patch)
tree7a78cbef3eebda38a0e4e3087722f88a4069d5ab /editor
parenta226d63f6815836284f947ccc56b688448381f84 (diff)
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);
}
}