Hide tunnel actions while TCG is starting
This commit is contained in:
@ -2,6 +2,9 @@
|
|||||||
* Save state in background thread (tickets #2595, #2632)
|
* Save state in background thread (tickets #2595, #2632)
|
||||||
* Fix ISE in language dialog (ticket #2631)
|
* Fix ISE in language dialog (ticket #2631)
|
||||||
* Fix NPE in create tunnel (ticket #2629)
|
* Fix NPE in create tunnel (ticket #2629)
|
||||||
|
* Update logo after router killed in background
|
||||||
|
* Fix message in tunnels tabs when tunnels not up yet
|
||||||
|
* Hide tunnel actions while TCG is starting
|
||||||
|
|
||||||
0.9.42 / 2019-08-28
|
0.9.42 / 2019-08-28
|
||||||
* Possible fix for tunnel edit dialog crash (ticket #2598)
|
* Possible fix for tunnel edit dialog crash (ticket #2598)
|
||||||
|
@ -70,12 +70,11 @@ public class TunnelsContainer extends Fragment implements
|
|||||||
setHasOptionsMenu(true);
|
setHasOptionsMenu(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean showActions() {
|
private static boolean showActions() {
|
||||||
RouterContext rCtx = Util.getRouterContext();
|
RouterContext rCtx = Util.getRouterContext();
|
||||||
TunnelControllerGroup tcg = TunnelControllerGroup.getInstance();
|
TunnelControllerGroup tcg = TunnelControllerGroup.getInstance();
|
||||||
return rCtx != null && tcg != null &&
|
return rCtx != null && tcg != null &&
|
||||||
(tcg.getState() == ClientAppState.STARTING ||
|
tcg.getState() == ClientAppState.RUNNING;
|
||||||
tcg.getState() == ClientAppState.RUNNING);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user