summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorPrzemysław Gołąb (n-pigeon) <golab.przemyslaw@gmail.com>2017-05-03 20:41:02 +0200
committerPrzemysław Gołąb (n-pigeon) <golab.przemyslaw@gmail.com>2017-05-06 15:52:39 +0200
commit2dc4b035a8c1296934e7c053b90b30924461d62b (patch)
treeecab24cc671b3eb498c73f6347586522ddbccf5d /editor/scene_tree_dock.cpp
parent5a6ccce97d350011b599e793cea95aa4e7899395 (diff)
Reworked look and feel of Add Script Dialog.
Untangled a lot of Controls logic code and placed it in one place. Which squashed few bugs and made code easier to maintain.
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index 901b259960..835243e401 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -362,8 +362,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
else {
String path = selected->get_filename();
script_create_dialog->config(selected->get_class(), path);
- script_create_dialog->popup_centered(Size2(300, 290));
- //script_create_dialog->popup_centered_minsize();
+ script_create_dialog->popup_centered();
}
} break;