We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fceb9ca commit 7f0b006Copy full SHA for 7f0b006
1 file changed
src/emc/usr_intf/qtvcp/qtvcp.py
@@ -295,9 +295,7 @@ def __init__(self):
295
296
# title
297
if INIPATH:
298
- if (INITITLE == ""):
299
- INITITLE='QTvcp-Screen-%s'% opts.component
300
- title = INITITLE
+ title ='QTvcp-Screen-%s'% opts.component
301
else:
302
title = 'QTvcp-Panel-%s'% opts.component
303
window.setWindowTitle(title)
@@ -407,6 +405,8 @@ def __init__(self):
407
405
# if there is a valid INI based icon path, override the default icon.
408
406
if INIICON !='' and os.path.exists(os.path.join(PATH.CONFIGPATH, INIICON)):
409
window.setWindowIcon(QtGui.QIcon(os.path.join(PATH.CONFIGPATH, INIICON)))
+ if (INITITLE !=''):
+ window.setWindowTitle(INITITLE)
410
411
# catch control c and terminate signals
412
signal.signal(signal.SIGTERM, self.shutdown)
0 commit comments