Revert "Remember only permanent bottom tabs"

This reverts commit 5dde57e958.
This commit is contained in:
Yuri Sizov 2023-06-23 15:23:36 +02:00
parent 9ab388c146
commit 8cfbc6bda2
6 changed files with 8 additions and 10 deletions

View file

@ -622,7 +622,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
empty.instantiate();
shader_tabs->add_theme_style_override("panel", empty);
button = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Shader Editor"), window_wrapper, true);
button = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Shader Editor"), window_wrapper);
// Defer connect because Editor class is not in the binding system yet.
EditorNode::get_singleton()->call_deferred("connect", "resource_saved", callable_mp(this, &ShaderEditorPlugin::_resource_saved), CONNECT_DEFERRED);