diff --git a/ecg_label_check.py b/ecg_label_check.py index 7435093..8af8395 100644 --- a/ecg_label_check.py +++ b/ecg_label_check.py @@ -316,8 +316,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): 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", - "ECG_Label_Check - Data Path: " + self.lineEdit_rootpath.text())) + # 导入数据 self.label1 = np.array([]) self.label2 = np.array([]) @@ -360,6 +359,8 @@ class MainWindow(QMainWindow, Ui_MainWindow): self.pushButton_outputLabel.setEnabled(True) self.figToolbar.action_Label_Single.setEnabled(True) self.figToolbar.action_Label_Multiple.setEnabled(True) + MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow", + "ECG_Label_Check - Data Path: " + self.lineEdit_rootpath.text())) for action in self.figToolbar._actions.values(): action.setEnabled(True)