mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
rename methods
This commit is contained in:
parent
43e89716ae
commit
761127c219
3 changed files with 8 additions and 8 deletions
|
|
@ -24,7 +24,7 @@ History::History()
|
|||
}
|
||||
|
||||
// Actions
|
||||
bool History::back(
|
||||
bool History::try_back(
|
||||
Memory & match,
|
||||
bool follow
|
||||
) {
|
||||
|
|
@ -48,7 +48,7 @@ bool History::back(
|
|||
}
|
||||
}
|
||||
|
||||
bool History::forward(
|
||||
bool History::try_forward(
|
||||
Memory & match,
|
||||
bool follow
|
||||
) {
|
||||
|
|
@ -96,14 +96,14 @@ void History::refresh()
|
|||
Memory match;
|
||||
|
||||
historyBack->set_sensitive(
|
||||
back(
|
||||
try_back(
|
||||
match,
|
||||
false
|
||||
)
|
||||
);
|
||||
|
||||
historyForward->set_sensitive(
|
||||
forward(
|
||||
try_forward(
|
||||
match,
|
||||
false
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue