mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
pass add_history argument into the page update action
This commit is contained in:
parent
8047b6ef48
commit
0db64561f0
8 changed files with 31 additions and 18 deletions
|
|
@ -234,7 +234,9 @@ void Page::navigation_update(
|
|||
"gemini://" + pageNavigation->get_request_text()
|
||||
);
|
||||
|
||||
navigation_update();
|
||||
navigation_update(
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
else
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ namespace app::browser::main::tab
|
|||
);
|
||||
|
||||
void navigation_update(
|
||||
const bool & ADD_HISTORY = false
|
||||
const bool & ADD_HISTORY
|
||||
);
|
||||
|
||||
bool navigation_history_try_back();
|
||||
|
|
|
|||
|
|
@ -97,9 +97,9 @@ bool Navigation::history_try_back()
|
|||
match.request
|
||||
);
|
||||
|
||||
navigationUpdate->activate();
|
||||
|
||||
return true;
|
||||
return activate_action(
|
||||
"win.main_tab_page_navigation_update"
|
||||
);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
@ -115,9 +115,9 @@ bool Navigation::history_try_forward()
|
|||
match.request
|
||||
);
|
||||
|
||||
navigationUpdate->activate();
|
||||
|
||||
return true;
|
||||
return activate_action(
|
||||
"win.main_tab_page_navigation_update"
|
||||
);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue