Skip to content

Commit 3eb00b2

Browse files
committed
CSSTUDIO-2572 Only clear the list of forward actions and add a go back action when a log entry was successfully retrieved.
1 parent 83c6293 commit 3eb00b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/logbook/olog/ui/src/main/java/org/phoebus/logbook/olog/ui/LogEntryTable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,10 @@ private void addGoForwardAction() {
173173
}
174174

175175
protected boolean loadLogEntryWithID(Long id) {
176-
goForwardActions.clear();
177-
addGoBackAction();
178-
179176
try {
180177
LogEntry logEntry = controller.client.getLog(id);
178+
goForwardActions.clear();
179+
addGoBackAction();
181180
gotoLogEntry(logEntry);
182181
return true;
183182
}

0 commit comments

Comments
 (0)