From 4cd92a22a81c49b2dc258d034dbd308ffbf464be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernard=20S=C3=A9cher=C3=83?= Date: Tue, 2 Mar 2021 09:36:53 +0100 Subject: [PATCH] focus on the models choice tab --- CoreFlows/gui/ui/MainCFWidget.py | 1 + 1 file changed, 1 insertion(+) diff --git a/CoreFlows/gui/ui/MainCFWidget.py b/CoreFlows/gui/ui/MainCFWidget.py index 3c65602..f7f53c3 100755 --- a/CoreFlows/gui/ui/MainCFWidget.py +++ b/CoreFlows/gui/ui/MainCFWidget.py @@ -17,6 +17,7 @@ class MainCFWidget(QtWidgets.QTabWidget): self.models += [self.widget(2+i)] for i in range(5): self.removeTab(3) + self.setCurrentIndex(0) def scanWidgets(self): print(self.tabModel) -- 2.39.2