From 22e3140ff0241b07cb9aabcbe3e6cfb03ef8efdd Mon Sep 17 00:00:00 2001 From: QuickMythril Date: Tue, 16 Mar 2021 03:00:55 -0400 Subject: [PATCH] add version on tooltip add Version Number on Qortal Core tooltip. https://i.imgur.com/eLnLnQ5.png --- src/main/java/org/qortal/controller/Controller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/qortal/controller/Controller.java b/src/main/java/org/qortal/controller/Controller.java index b2c6c182..ce270ac1 100644 --- a/src/main/java/org/qortal/controller/Controller.java +++ b/src/main/java/org/qortal/controller/Controller.java @@ -775,7 +775,7 @@ public class Controller extends Thread { actionText = Translator.INSTANCE.translate("SysTray", "MINTING_DISABLED"); } - String tooltip = String.format("%s - %d %s - %s %d", actionText, numberOfPeers, connectionsText, heightText, height); + String tooltip = String.format("%s - %d %s - %s %d", actionText, numberOfPeers, connectionsText, heightText, height) + "\n" + String.format("Build version: %s", this.buildVersion); SysTray.getInstance().setToolTipText(tooltip); this.callbackExecutor.execute(() -> {