mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-26 11:16:29 +00:00
Various fixes [stage]
This commit is contained in:
@@ -124,7 +124,7 @@ public class TerminalDockHubComp extends SimpleRegionBuilder {
|
||||
}
|
||||
|
||||
private void update(Region region) {
|
||||
if (region.getScene() == null || region.getScene().getWindow() == null) {
|
||||
if (region.getScene() == null || region.getScene().getWindow() == null || NativeWinWindowControl.MAIN_WINDOW == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -63,6 +63,10 @@ public class TerminalDockHubManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (NativeWinWindowControl.MAIN_WINDOW == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user