It seems as if the QTabWidget loses the property that enables the scroll buttons when the out-of-view tabs are made invisible or disabled. see: QTabWidget.usesScrollButtons()
I had the same issue and resetting the property helped. After enabling the tabs, insert this: self.ui.tabWidget.setUsesScrollButtons(True)