From 00b0ccff33dddbefad568f23f2acc674475015da Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Sat, 7 Sep 2019 19:53:59 +0300 Subject: [PATCH] Show: don't come back to Start workbench This caused start page to reappar, and confused people. reported by tjp in https://forum.freecadweb.org/viewtopic.php?f=3&t=39143 --- src/Mod/Show/TempoVis.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Mod/Show/TempoVis.py b/src/Mod/Show/TempoVis.py index 1a6784f3b5..d6bf312437 100644 --- a/src/Mod/Show/TempoVis.py +++ b/src/Mod/Show/TempoVis.py @@ -447,7 +447,12 @@ class TempoVis(object): def activateWorkbench(self, wb_name): from .SceneDetails.Workbench import Workbench - self.modify(Workbench(wb_name)) + wb = Workbench(wb_name) + if wb.scene_value() == 'StartWorkbench': + #exclusion - don't switch back to Start, as it causes Start page to appear + wb.apply_data(wb_name) + return + self.modify(wb) #