Skip to content

Commit

Permalink
Fix for loosing focus when entering linked mode (rename element) #3245
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-karaman authored and szarnekow committed Nov 25, 2024
1 parent 574f7c3 commit 4fb5674
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ public boolean start(IRenameElementContext renameElementContext, Provider<Linked
registry.register(focusEditingSupport);
}
openPopup();
// Lost the focus, set back the focus
viewer.getTextWidget().setFocus();
return true;
} catch (BadLocationException e) {
throw new WrappedException(e);
Expand Down

0 comments on commit 4fb5674

Please sign in to comment.