Skip to content

Commit

Permalink
Consider segments populated from filter as with context / alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
t-cordonnier committed Jun 21, 2024
1 parent 91b5653 commit 6e12c2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/org/omegat/gui/editor/EditorTextArea3.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ public void onEntryActivated(SourceTextEntry newEntry) {
for (int i = 0; i < props.length; i++) {
if (props[i].equals("LOCKED")) {
isLocked = props[i + 1];
// Entries populated via a filter are always with context, as alternative
controller.setAlternateTranslationForCurrentEntry(true);
}
}
if (isLocked == null) {
Expand Down

0 comments on commit 6e12c2d

Please sign in to comment.