forked from j62/ctbrec
Fix minimize to tray
This commit is contained in:
parent
964f111a4b
commit
77b9737495
|
@ -1,3 +1,7 @@
|
||||||
|
4.7.6
|
||||||
|
========================
|
||||||
|
* Fix minimize to tray
|
||||||
|
|
||||||
4.7.5
|
4.7.5
|
||||||
========================
|
========================
|
||||||
* Add setting to show the number of active recordings in the tray
|
* Add setting to show the number of active recordings in the tray
|
||||||
|
|
|
@ -168,7 +168,7 @@ public class DesktopIntegration {
|
||||||
|
|
||||||
private static boolean createTrayIcon(Stage stage) {
|
private static boolean createTrayIcon(Stage stage) {
|
||||||
if (SystemTray.isSupported()) {
|
if (SystemTray.isSupported()) {
|
||||||
boolean created = false;
|
boolean created = true;
|
||||||
if (trayIcon == null) {
|
if (trayIcon == null) {
|
||||||
trayIcon = new ctbrec.ui.TrayIcon(stage, recorder);
|
trayIcon = new ctbrec.ui.TrayIcon(stage, recorder);
|
||||||
created = trayIcon.createTrayIcon();
|
created = trayIcon.createTrayIcon();
|
||||||
|
|
Loading…
Reference in New Issue