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
This commit is contained in:
commit
73c7b9a69e
|
@ -1689,7 +1689,7 @@ void ProjectList::_panel_input(const Ref<InputEvent> &p_ev, Node *p_hb) {
|
||||||
|
|
||||||
emit_signal(SIGNAL_SELECTION_CHANGED);
|
emit_signal(SIGNAL_SELECTION_CHANGED);
|
||||||
|
|
||||||
if (mb->is_doubleclick()) {
|
if (!mb->get_control() && mb->is_doubleclick()) {
|
||||||
emit_signal(SIGNAL_PROJECT_ASK_OPEN);
|
emit_signal(SIGNAL_PROJECT_ASK_OPEN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue