From 65f0b9a1fa739559c81bf5c8ae3694ac30bfcadd Mon Sep 17 00:00:00 2001 From: marques <20172333133@m.scnu.edu.cn> Date: Wed, 4 Jun 2025 16:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=A9=BA=E5=B9=B6=E6=9B=B4=E6=96=B0ID?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=EF=BC=8C=E8=AE=BE=E7=BD=AE=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E9=80=89=E4=B8=AD=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- func/Module_mainwindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/func/Module_mainwindow.py b/func/Module_mainwindow.py index 056972e..214dad5 100644 --- a/func/Module_mainwindow.py +++ b/func/Module_mainwindow.py @@ -280,7 +280,9 @@ class MainWindow(QMainWindow, Ui_Signal_Label): return sub_folders = [item.name for item in Path(path).iterdir() if item.is_dir()] + self.ui.comboBox_sampID.clear() self.ui.comboBox_sampID.addItems(sub_folders) + self.ui.comboBox_sampID.setCurrentIndex(0) def check_root_path(self): if self.ui.plainTextEdit_root_path.toPlainText() == Constants.STRING_IS_EMPTY: