summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index bbae6e5389..c7ea7dc7cf 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5441,7 +5441,7 @@ void EditorNode::_scene_tab_input(const Ref<InputEvent> &p_input) {
_scene_tab_closed(scene_tabs->get_hovered_tab());
}
} else {
- if ((mb->get_button_index() == MouseButton::LEFT && mb->is_double_click()) || (mb->get_button_index() == MouseButton::MIDDLE && mb->is_pressed())) {
+ if (mb->get_button_index() == MouseButton::LEFT && mb->is_double_click()) {
_menu_option_confirm(FILE_NEW_SCENE, true);
}
}