always set server toggle tooltip on connection to handle bwt startup

This commit is contained in:
Craig Raw 2021-04-22 12:24:09 +02:00
parent deee63c701
commit 3ff626e2aa

View file

@ -1546,6 +1546,7 @@ public class AppController implements Initializable {
public void connection(ConnectionEvent event) { public void connection(ConnectionEvent event) {
String status = "Connected to " + Config.get().getServerAddress() + " at height " + event.getBlockHeight(); String status = "Connected to " + Config.get().getServerAddress() + " at height " + event.getBlockHeight();
statusUpdated(new StatusEvent(status)); statusUpdated(new StatusEvent(status));
setServerToggleTooltip(event.getBlockHeight());
} }
@Subscribe @Subscribe