fixed UI
This commit is contained in:
@@ -265,13 +265,13 @@ class AppWindowUiMixin:
|
||||
"""Switch visible plot page according to processing mode.
|
||||
|
||||
`bscan` -> show `self._bscan_plot`
|
||||
`gpr` -> show `self._gpr_plot`
|
||||
`gpr` and `legacy_gpr` -> show `self._gpr_plot`
|
||||
otherwise -> show `self._trace_plots_container`
|
||||
"""
|
||||
if mode == "bscan":
|
||||
self._plot_stack.setCurrentWidget(self._bscan_plot)
|
||||
return
|
||||
if mode == "gpr":
|
||||
if mode in {"gpr", "legacy_gpr"}:
|
||||
self._plot_stack.setCurrentWidget(self._gpr_plot)
|
||||
return
|
||||
self._plot_stack.setCurrentWidget(self._trace_plots_container)
|
||||
|
||||
Reference in New Issue
Block a user