summaryrefslogtreecommitdiff
path: root/editor/project_manager.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-08 17:03:30 +0200
committerGitHub <noreply@github.com>2021-06-08 17:03:30 +0200
commit006cb7def4918ec61df8bfb7d5e672eb8ee71258 (patch)
treed2592a4cb534628c629c9b5d638a95cbdaa9d7f0 /editor/project_manager.cpp
parentaffb3ce1b7e5ac9c6ecf3d714e7aa19587850b25 (diff)
parent293550f56ad732ce27d042f6fca8fe8476669d15 (diff)
Merge pull request #49405 from Xrayez/version-hash-dot-to-space
Separate version hash from version number in editor and project manager
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r--editor/project_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index 9ed9bdcb96..1b596ce599 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -2621,7 +2621,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.