create update method, change refresh logic

This commit is contained in:
yggverse 2024-09-10 09:14:59 +03:00
parent d999b43d24
commit eb902bdd99
3 changed files with 61 additions and 47 deletions

View file

@ -184,12 +184,7 @@ void Tab::refresh(
TAB_PAGE->get_title()
);
TAB_PAGE->refresh(
tab::Page::MIME::UNDEFINED,
TAB_PAGE->get_title(),
TAB_PAGE->get_description(),
0 // @TODO
);
TAB_PAGE->refresh();
action__tab_close_active->set_enabled(
get_n_pages() > 0