diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-11-20 11:04:57 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-11-22 16:55:21 +0300 |
commit | eabf8f5edf6dc3346bd6a6e771e382f1a20a5c29 (patch) | |
tree | c0f181a442d43239b10e2379916df83c9f34e820 /editor/connections_dialog.cpp | |
parent | ed02b8af59fceb48798c857306335fe0f7ff6a8a (diff) | |
download | redot-engine-eabf8f5edf6dc3346bd6a6e771e382f1a20a5c29.tar.gz |
Added `reset_size` method to `Control` and `Window` classes
Diffstat (limited to 'editor/connections_dialog.cpp')
-rw-r--r-- | editor/connections_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index c773f51342..b954c87476 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -378,7 +378,7 @@ void ConnectDialog::_advanced_pressed() { error_label->hide(); } else { set_min_size(Size2(600, 500) * EDSCALE); - set_size(Size2()); + reset_size(); connect_to_label->set_text(TTR("Connect to Script:")); tree->set_connect_to_script_mode(true); |