rename methods

This commit is contained in:
yggverse 2024-09-04 02:36:30 +03:00
parent 43e89716ae
commit 761127c219
3 changed files with 8 additions and 8 deletions

View file

@ -91,7 +91,7 @@ void Navbar::back()
{
navbar::History::Memory match;
if (navbarHistory->back(match))
if (navbarHistory->try_back(match))
{
navbarRequest->set_text(
match.request
@ -105,7 +105,7 @@ void Navbar::forward()
{
navbar::History::Memory match;
if (navbarHistory->forward(match))
if (navbarHistory->try_forward(match))
{
navbarRequest->set_text(
match.request