feat: 完善参数化编辑和孔修改稳定性
This commit is contained in:
@@ -27,7 +27,9 @@ class InfoPanelMixin:
|
||||
self.info_text.setPlainText(self.current_info_text)
|
||||
self._populate_info_tree(info)
|
||||
self.info_tabs.setCurrentWidget(self.info_tree)
|
||||
if hasattr(self, "export_all_button"):
|
||||
if hasattr(self, "_refresh_property_editor"):
|
||||
self._refresh_property_editor()
|
||||
if hasattr(self, "mode_combo"):
|
||||
self._update_action_states()
|
||||
|
||||
def set_plain_info(self, text: str) -> None:
|
||||
@@ -36,7 +38,9 @@ class InfoPanelMixin:
|
||||
self.info_tree.clear()
|
||||
self.info_text.setPlainText(text)
|
||||
self.info_tabs.setCurrentWidget(self.info_text)
|
||||
if hasattr(self, "export_all_button"):
|
||||
if hasattr(self, "_clear_property_editor"):
|
||||
self._clear_property_editor()
|
||||
if hasattr(self, "mode_combo"):
|
||||
self._update_action_states()
|
||||
|
||||
def _populate_info_tree(self, info: dict[str, object]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user