修复导入时错误输入路径时崩溃的bug
This commit is contained in:
parent
8cc43f8629
commit
f86fcad396
@ -313,7 +313,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
self.msgBox.exec()
|
||||
|
||||
def slot_btn_dataInput(self):
|
||||
if self.lineEdit_data1path.text() != "" and self.lineEdit_data2path.text() != "" and self.lineEdit_label1path.text() != "" and self.lineEdit_label2path.text() != "" and self.lineEdit_savepath.text() != "":
|
||||
if self.lineEdit_data1path.text() != "" or self.lineEdit_data2path.text() != "" or self.lineEdit_label1path.text() != "" or self.lineEdit_label2path.text() != "" or self.lineEdit_savepath.text() != "":
|
||||
info("Inputing Data...")
|
||||
self.textBrowser_update("提示:开始导入数据")
|
||||
MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow",
|
||||
|
Loading…
Reference in New Issue
Block a user