Skip to content

Commit 4a093f7

Browse files
authored
Remove focus of editorPanel in case focus loss (#3526)
1 parent 606f322 commit 4a093f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azuretools/ijidea/ui/DeviceLoginWindow.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public DeviceLoginWindow(final AuthenticationContext ctx, final DeviceCode devic
8585
}
8686
}
8787
});
88+
editorPanel.setFocusable(false);
8889
// Apply JLabel's font and color to JEditorPane
8990
final Font font = UIManager.getFont("Label.font");
9091
final Color foregroundColor = UIManager.getColor("Label.foreground");

0 commit comments

Comments
 (0)