Separate version hash from version number in editor and project manager
When copy-pasting the version from About dialog to bug reports at GitHub,
this makes the version hash linkable to commits at GitHub.
(cherry picked from commit 293550f56a)
This commit is contained in:
committed by
Rémi Verschelde
parent
bdc8d29749
commit
6aed7e349f
@ -2576,7 +2576,7 @@ ProjectManager::ProjectManager() {
|
||||
version_btn = memnew(LinkButton);
|
||||
String hash = String(VERSION_HASH);
|
||||
if (hash.length() != 0) {
|
||||
hash = "." + hash.left(9);
|
||||
hash = " " + vformat("[%s]", hash.left(9));
|
||||
}
|
||||
version_btn->set_text("v" VERSION_FULL_BUILD + hash);
|
||||
// Fade the version label to be less prominent, but still readable.
|
||||
|
||||
Reference in New Issue
Block a user