修改对话框类型

This commit is contained in:
gfdgd xi 2023-04-15 19:28:07 +08:00
parent 6a44167c9a
commit df96b2fd7f

View File

@ -1880,7 +1880,7 @@ class ValueCheck():
if file == "":
return
try:
QtWidgets.QInputDialog.getMultiLineText(window, "", "计算得到的值", self.link[types](self, file))
QtWidgets.QInputDialog.getText(window, "", "计算得到的值", QtWidgets.QLineEdit.Normal, self.link[types](self, file))
except:
traceback.print_exc()
QtWidgets.QMessageBox.critical(window, "错误", traceback.format_exc())