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

@ -252,7 +252,6 @@ private:
String name;
Control *control = nullptr;
Button *button = nullptr;
bool permanent = false;
};
struct ExportDefer {
@ -905,7 +904,7 @@ public:
bool is_exiting() const { return exiting; }
Button *add_bottom_panel_item(String p_text, Control *p_item, bool p_permanent = false);
Button *add_bottom_panel_item(String p_text, Control *p_item);
void make_bottom_panel_item_visible(Control *p_item);
void raise_bottom_panel_item(Control *p_item);
void hide_bottom_panel();