aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.h
diff options
context:
space:
mode:
authorAndreas Haas2017-11-12 10:50:06 +0100
committerAndreas Haas2017-11-12 10:50:32 +0100
commit58fafea485bc7223ff4cffe9b9eef8ce9cda0c4c (patch)
treee9e9bb6f21cc386103d02259a35296a1b9e2a2d2 /editor/plugins/canvas_item_editor_plugin.h
parentb3c08a83266b591cc8442946e94d71eab992ec49 (diff)
downloadgodot-58fafea485bc7223ff4cffe9b9eef8ce9cda0c4c.tar.gz
godot-58fafea485bc7223ff4cffe9b9eef8ce9cda0c4c.tar.zst
godot-58fafea485bc7223ff4cffe9b9eef8ce9cda0c4c.zip
Remove preview when closing "change default type" dialog.
Diffstat (limited to '')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h
index 97e3b0356..457833e1a 100644
--- a/editor/plugins/canvas_item_editor_plugin.h
+++ b/editor/plugins/canvas_item_editor_plugin.h
@@ -568,7 +568,8 @@ class CanvasItemEditorViewport : public Control {
void _on_mouse_exit();
void _on_select_type(Object *selected);
- void _on_change_type();
+ void _on_change_type_confirmed();
+ void _on_change_type_closed();
void _create_preview(const Vector<String> &files) const;
void _remove_preview();