File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -719,19 +719,19 @@ EditorPropertyPath::EditorPropertyPath() {
719719 path->connect (SceneStringName (focus_exited), callable_mp (this , &EditorPropertyPath::_path_focus_exited));
720720 path->set_h_size_flags (SIZE_EXPAND_FILL);
721721
722- path_edit = memnew (Button);
723- path_edit->set_accessibility_name (TTRC (" Edit" ));
724- path_hb->add_child (path_edit);
725- add_focusable (path);
726- path_edit->connect (SceneStringName (pressed), callable_mp (this , &EditorPropertyPath::_path_pressed));
727-
728722 toggle_uid = memnew (Button);
729723 toggle_uid->set_accessibility_name (TTRC (" Toggle Display UID" ));
730724 toggle_uid->set_tooltip_text (TTRC (" Toggles displaying between path and UID.\n The UID is the actual value of this property." ));
731725 toggle_uid->set_pressed (false );
732726 path_hb->add_child (toggle_uid);
733727 add_focusable (toggle_uid);
734728 toggle_uid->connect (SceneStringName (pressed), callable_mp (this , &EditorPropertyPath::_toggle_uid_display));
729+
730+ path_edit = memnew (Button);
731+ path_edit->set_accessibility_name (TTRC (" Edit" ));
732+ path_hb->add_child (path_edit);
733+ add_focusable (path);
734+ path_edit->connect (SceneStringName (pressed), callable_mp (this , &EditorPropertyPath::_path_pressed));
735735}
736736
737737// /////////////////// CLASS NAME /////////////////////////
Original file line number Diff line number Diff line change @@ -162,12 +162,12 @@ class EditorPropertyPath : public EditorProperty {
162162 bool global = false ;
163163 bool save_mode = false ;
164164 bool enable_uid = false ;
165- bool display_uid = true ;
165+ bool display_uid = false ;
166166
167167 EditorFileDialog *dialog = nullptr ;
168168 LineEdit *path = nullptr ;
169- Button *path_edit = nullptr ;
170169 Button *toggle_uid = nullptr ;
170+ Button *path_edit = nullptr ;
171171
172172 String _get_path_text (bool p_allow_uid = false );
173173
You can’t perform that action at this time.
0 commit comments