mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
bring window to front when restored after being minimized to tray
This commit is contained in:
parent
fd0fe1110d
commit
7e7795196c
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ public class TrayManager {
|
|||
miStage.setFont(Font.decode(null).deriveFont(Font.BOLD));
|
||||
miStage.addActionListener(e -> Platform.runLater(() -> {
|
||||
stage.show();
|
||||
stage.setAlwaysOnTop(true);
|
||||
stage.setAlwaysOnTop(false);
|
||||
EventQueue.invokeLater(() -> {
|
||||
popupMenu.remove(miStage);
|
||||
|
||||
|
|
Loading…
Reference in a new issue