diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-19 23:09:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 23:09:49 +0200 |
commit | 6d8c14f849376905e1577f9fc3f9512bcffb1e3c (patch) | |
tree | 1c0de1bac35046915575687e8d8993643d372474 /editor/plugins/gi_probe_editor_plugin.cpp | |
parent | cb9d02a8d1b5bb71abcec6be0e75002c5ea656c4 (diff) | |
parent | 31b7f02a29cdf4f1c30cfc37962f43f67380b9ad (diff) |
Merge pull request #39690 from Calinou/remove-toolbutton
Remove ToolButton in favor of Button
Diffstat (limited to 'editor/plugins/gi_probe_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/gi_probe_editor_plugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/gi_probe_editor_plugin.cpp b/editor/plugins/gi_probe_editor_plugin.cpp index 94f771e643..1b48e17772 100644 --- a/editor/plugins/gi_probe_editor_plugin.cpp +++ b/editor/plugins/gi_probe_editor_plugin.cpp @@ -144,7 +144,8 @@ GIProbeEditorPlugin::GIProbeEditorPlugin(EditorNode *p_node) { bake_hb = memnew(HBoxContainer); bake_hb->set_h_size_flags(Control::SIZE_EXPAND_FILL); bake_hb->hide(); - bake = memnew(ToolButton); + bake = memnew(Button); + bake->set_flat(true); bake->set_icon(editor->get_gui_base()->get_theme_icon("Bake", "EditorIcons")); bake->set_text(TTR("Bake GI Probe")); bake->connect("pressed", callable_mp(this, &GIProbeEditorPlugin::_bake)); |