INSTALLER支持安装ROOT镜像

This commit is contained in:
2023-01-15 10:08:29 +08:00
parent f3d1a1e932
commit 940014952f
2 changed files with 12 additions and 6 deletions

View File

@@ -485,7 +485,7 @@ widget.setLayout(widgetLayout)
window.setWindowTitle(title)
window.setCentralWidget(widget)
window.setWindowIcon(QtGui.QIcon(iconPath))
window.resize(window.frameSize().width() * 1.3, window.frameSize().height() * 1.1)
window.resize(int(window.frameSize().width() * 1.3), int(window.frameSize().height() * 1.1))
try:
combobox1.setCurrentText(sys.argv[1])
except: