- reactivated the version check in case the release is not BETA; FlatCAMApp.App has now a beta object that when set True the application will show in the Title and help-> About that is Beta (and it disable version checking)

This commit is contained in:
Marius Stanciu
2019-01-06 22:04:01 +02:00
committed by Marius S
parent 3ea1f4e62c
commit b418d15daf
6 changed files with 38 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
geom_update = QtCore.pyqtSignal(int, int, int, int, int, name='geomUpdate')
final_save = QtCore.pyqtSignal(name='saveBeforeExit')
def __init__(self, version, app):
def __init__(self, version, beta, app):
super(FlatCAMGUI, self).__init__()
self.app = app
@@ -717,7 +717,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.setWindowIcon(self.app_icon)
self.setGeometry(100, 100, 1024, 650)
self.setWindowTitle('FlatCAM %s - %s' % (version, platform.architecture()[0]))
self.setWindowTitle('FlatCAM %s %s - %s' % (version, ('BETA' if beta else ''), platform.architecture()[0]))
self.show()
self.filename = ""