mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
always set server toggle tooltip on connection to handle bwt startup
This commit is contained in:
parent
deee63c701
commit
3ff626e2aa
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue