diff options
author | trollodel <33117082+trollodel@users.noreply.github.com> | 2021-11-17 21:08:55 +0100 |
---|---|---|
committer | trollodel <33117082+trollodel@users.noreply.github.com> | 2022-01-20 20:13:26 +0100 |
commit | aa1102fc536bd7b3a2cff703d79713c454af7e6c (patch) | |
tree | dbe06bedc829e44e5186ea36a70386e8209b2666 /editor/editor_inspector.cpp | |
parent | 8fc0dd9997c80059ec2b273e7004daa458d370ee (diff) | |
download | redot-engine-aa1102fc536bd7b3a2cff703d79713c454af7e6c.tar.gz |
Store panels and docks singletons in their own classes
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r-- | editor/editor_inspector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 1e1f25b6d1..2d591bc434 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -861,10 +861,10 @@ String EditorProperty::get_tooltip_text() const { void EditorProperty::menu_option(int p_option) { switch (p_option) { case MENU_COPY_PROPERTY: { - EditorNode::get_singleton()->get_inspector()->set_property_clipboard(object->get(property)); + InspectorDock::get_inspector_singleton()->set_property_clipboard(object->get(property)); } break; case MENU_PASTE_PROPERTY: { - emit_changed(property, EditorNode::get_singleton()->get_inspector()->get_property_clipboard()); + emit_changed(property, InspectorDock::get_inspector_singleton()->get_property_clipboard()); } break; case MENU_COPY_PROPERTY_PATH: { DisplayServer::get_singleton()->clipboard_set(property); |