diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-22 16:22:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 16:22:57 +0100 |
commit | 76aa1d0a433441e9bd863e1f489e9905c545f630 (patch) | |
tree | a5b299f1bd5bbeee6bf717ae5a02f28977f04af5 /editor/dependency_editor.cpp | |
parent | 8daf0cc49c4bab8dd039ced214e527b21708661e (diff) | |
parent | eabf8f5edf6dc3346bd6a6e771e382f1a20a5c29 (diff) |
Merge pull request #55151 from Chaosus/control_reset_size
Diffstat (limited to 'editor/dependency_editor.cpp')
-rw-r--r-- | editor/dependency_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp index d07d77c112..f18284638f 100644 --- a/editor/dependency_editor.cpp +++ b/editor/dependency_editor.cpp @@ -270,7 +270,7 @@ DependencyEditor::DependencyEditor() { ///////////////////////////////////// void DependencyEditorOwners::_list_rmb_select(int p_item, const Vector2 &p_pos) { file_options->clear(); - file_options->set_size(Size2(1, 1)); + file_options->reset_size(); if (p_item >= 0) { file_options->add_item(TTR("Open"), FILE_OPEN); } @@ -464,7 +464,7 @@ void DependencyRemoveDialog::show(const Vector<String> &p_folders, const Vector< if (removed_deps.is_empty()) { owners->hide(); text->set_text(TTR("Remove the selected files from the project? (Cannot be undone.)\nDepending on your filesystem configuration, the files will either be moved to the system trash or deleted permanently.")); - set_size(Size2()); + reset_size(); popup_centered(); } else { _build_removed_dependency_tree(removed_deps); |