Set index of tabs back to 0

This commit is contained in:
Marcel Kapfer 2020-04-30 21:36:10 +02:00
parent 07ee4e3737
commit 3423bc3b75
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09
2 changed files with 2 additions and 2 deletions

View file

@ -347,7 +347,7 @@ class Ui_MainWindow(object):
self.menuBar.addAction(self.menuMen.menuAction()) self.menuBar.addAction(self.menuMen.menuAction())
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(7) self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
MainWindow.setTabOrder(self.e_recipe_name, self.e_servings) MainWindow.setTabOrder(self.e_recipe_name, self.e_servings)
MainWindow.setTabOrder(self.e_servings, self.e_time) MainWindow.setTabOrder(self.e_servings, self.e_time)

View file

@ -68,7 +68,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>7</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="t_basics"> <widget class="QWidget" name="t_basics">
<attribute name="title"> <attribute name="title">