Skip to content

Commit

Permalink
[26872] use display thread to update omnivore view on user change
Browse files Browse the repository at this point in the history
  • Loading branch information
huthomas committed Jan 20, 2025
1 parent 86f797a commit b227fe9
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,14 @@ void activePatient(@Optional IPatient patient) {

@Inject
void activeUser(@Optional IUser user) {
if (isActiveControl(table)) {
viewer.refresh();
importAction.reflectRight();
editAction.reflectRight();
deleteAction.reflectRight();
}
Display.getDefault().asyncExec(() -> {
if (isActiveControl(table)) {
viewer.refresh();
importAction.reflectRight();
editAction.reflectRight();
deleteAction.reflectRight();
}
});
}

@Optional
Expand Down

0 comments on commit b227fe9

Please sign in to comment.