Fix step4_panel variable name inconsistency causing AttributeError
This commit is contained in:
@ -1918,8 +1918,8 @@ class WaterQualityGUI(QMainWindow):
|
||||
self.step3_panel = Step3Panel()
|
||||
self.step_stack.addTab(self.create_scroll_area(self.step3_panel), QIcon(self.get_icon_path("3.png")), "耀斑去除")
|
||||
|
||||
self.step4_panel = Step4SamplingPanel()
|
||||
self.step_stack.addTab(self.create_scroll_area(self.step4_panel), QIcon(self.get_icon_path("4.png")), "采样点布设")
|
||||
self.step4_sampling_panel = Step4SamplingPanel()
|
||||
self.step_stack.addTab(self.create_scroll_area(self.step4_sampling_panel), QIcon(self.get_icon_path("4.png")), "采样点布设")
|
||||
|
||||
self.step5_clean_panel = Step5CleanPanel()
|
||||
self.step_stack.addTab(self.create_scroll_area(self.step5_clean_panel), QIcon(self.get_icon_path("5.png")), "数据清洗")
|
||||
@ -2153,7 +2153,7 @@ class WaterQualityGUI(QMainWindow):
|
||||
|
||||
# Step4(采样点布设)切换时自动填充输出路径
|
||||
elif index == 3:
|
||||
self.step4_panel.update_from_config(work_dir=self.work_dir)
|
||||
self.step4_sampling_panel.update_from_config(work_dir=self.work_dir)
|
||||
|
||||
# Step5(数据清洗)切换时自动填充数据流转路径
|
||||
elif index == 4:
|
||||
|
||||
Reference in New Issue
Block a user