Merge pull request #33 from QuickMythril/version-on-tooltip

add version on tooltip
This commit is contained in:
CalDescent 2021-04-17 13:21:20 +01:00 committed by GitHub
commit b1eb02eb1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(() -> {