mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename refresh method to update
This commit is contained in:
parent
63da1b1e76
commit
c574d6e8bf
21 changed files with 31 additions and 31 deletions
|
|
@ -131,7 +131,7 @@ void Tab::save()
|
|||
}
|
||||
|
||||
// Actions
|
||||
void Tab::refresh(
|
||||
void Tab::update(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
const auto TAB_PAGE = get_tabPage(
|
||||
|
|
@ -144,7 +144,7 @@ void Tab::refresh(
|
|||
TAB_PAGE->get_title()
|
||||
);
|
||||
|
||||
TAB_PAGE->refresh();
|
||||
TAB_PAGE->update();
|
||||
|
||||
action__tab_close_active->set_enabled(
|
||||
get_n_pages() > 0
|
||||
|
|
@ -192,7 +192,7 @@ int Tab::append(
|
|||
);
|
||||
}
|
||||
|
||||
refresh(
|
||||
update(
|
||||
PAGE_NUMBER
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue