Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Remove unused AcceptDialog in ScriptEditorDebugger

NoNormalDev06268015172b
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp
index 229e39b9c3e..b934a648e9c 100644
--- a/editor/debugger/script_editor_debugger.cpp
+++ b/editor/debugger/script_editor_debugger.cpp
@@ -2520,9 +2520,6 @@ Instead, use the monitors tab to obtain more precise VRAM usage.
misc->add_child(buttons);
}
- msgdialog = memnew(AcceptDialog);
- add_child(msgdialog);
-
_update_buttons_state();
}
diff --git a/editor/debugger/script_editor_debugger.h b/editor/debugger/script_editor_debugger.h
index 41a3f693747..719dfea7c67 100644
--- a/editor/debugger/script_editor_debugger.h
+++ b/editor/debugger/script_editor_debugger.h
@@ -89,8 +89,6 @@ private:
VMEM_MENU_OWNERS,
};
- AcceptDialog *msgdialog = nullptr;
-
LineEdit *clicked_ctrl = nullptr;
LineEdit *clicked_ctrl_type = nullptr;
LineEdit *live_edit_root = nullptr;