@ -133,6 +133,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.ui=Ui_MainWindow()
self.ui.setupUi(self)
self.fPalBlue=setPaletteAndFont(self.qtApp)
assertself.ui.tabbyCat.currentIndex()==0,self.ui.tabbyCat.currentIndex()# this is critical. If you left the Qt Designer with the wrong tab open this is the error that happens. It will trigger the tab changed later that will go wrong because setup is not complete yet and you'll get AttributeError
self.ui.mainPageSwitcher.setCurrentIndex(0)#1 is messageLabel 0 is the tab widget
@ -146,6 +147,13 @@ class MainWindow(QtWidgets.QMainWindow):