개정판 bb3cbaf8
Change app title
Change-Id: Ic9728bc1e26225cf3cc93b3da5e0f616bb10c444
HYTOS/HYTOS/MainWindow.py | ||
---|---|---|
302 | 302 |
|
303 | 303 |
version = QCoreApplication.applicationVersion() |
304 | 304 |
if drawingName is None: |
305 |
self.setWindowTitle(_translate(App.NAME + f"({version})", App.NAME + f"({version})"))
|
|
305 |
self.setWindowTitle(_translate(App.NAME + f"({version}) Licensed", App.NAME + f"({version}) Licensed"))
|
|
306 | 306 |
else: |
307 | 307 |
self.setWindowTitle( |
308 |
_translate(App.NAME + f"({version})", App.NAME + f"({version})") + f" - {drawingName}")
|
|
308 |
_translate(App.NAME + f"({version}) Licensed", App.NAME + f"({version}) Licensed") + f" - {drawingName}")
|
|
309 | 309 |
except Exception as ex: |
310 | 310 |
message = f"error occurred({repr(ex)}) in {sys.exc_info()[-1].tb_frame.f_code.co_filename}:" \ |
311 | 311 |
f"{sys.exc_info()[-1].tb_lineno}" |
내보내기 Unified diff