fix building from tarball

pull/53/head
Zlatin Balevsky 2020-10-16 20:38:29 +01:00
parent 53362018be
commit edede81ffc
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 3 additions and 2 deletions

View File

@ -94,8 +94,9 @@ class MainFrameView {
settings = application.context.get("ui-settings")
int rowHeight = application.context.get("row-height")
String revision = ""
if (metadata["build.revision"] != null)
revision = " revision " + metadata["build.revision"].substring(0,10)
String build = metadata["build.revision"]
if (build != null && !build.isEmpty())
revision = " revision " + build.substring(0,10)
int mainFrameX = 1
int mainFrameY = 1