Skip to content

Commit

Permalink
CSSTUDIO-2572 Only clear the list of forward actions and add a go bac…
Browse files Browse the repository at this point in the history
…k action when a log entry was successfully retrieved.
  • Loading branch information
abrahamwolk committed Nov 20, 2024
1 parent 83c6293 commit 3eb00b2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,10 @@ private void addGoForwardAction() {
}

protected boolean loadLogEntryWithID(Long id) {
goForwardActions.clear();
addGoBackAction();

try {
LogEntry logEntry = controller.client.getLog(id);
goForwardActions.clear();
addGoBackAction();
gotoLogEntry(logEntry);
return true;
}
Expand Down

0 comments on commit 3eb00b2

Please sign in to comment.