draft refresh method

This commit is contained in:
yggverse 2024-08-29 03:46:36 +03:00
parent 24ffe358c4
commit 8d74798edd
3 changed files with 16 additions and 0 deletions

View File

@ -107,6 +107,9 @@ void Navbar::refresh()
navbarUpdate->set_sensitive( navbarUpdate->set_sensitive(
navbarRequest->get_text_length() > 0 navbarRequest->get_text_length() > 0
); );
// Refresh history widget
navbarHistory->refresh();
} }
// Setters // Setters

View File

@ -28,3 +28,14 @@ History::~History()
delete back; delete back;
delete forward; delete forward;
}; };
void History::refresh()
{
back->set_sensitive(
false // @TODO
);
forward->set_sensitive(
false // @TODO
);
}

View File

@ -29,6 +29,8 @@ namespace app::browser::main::tab::page::navbar
History(); History();
~History(); ~History();
void refresh();
}; };
} }