- minor changes to another custom widget

This commit is contained in:
Marius Stanciu
2022-05-06 01:43:14 +03:00
committed by Marius
parent 1183a60030
commit 51811b84cb

View File

@@ -3120,6 +3120,10 @@ class FCTab(QtWidgets.QTabWidget):
def protectTab(self, currentIndex):
self.tabBar().setTabButton(currentIndex, QtWidgets.QTabBar.ButtonPosition.RightSide, None)
try:
self.tabBar().setTabButton(currentIndex, QtWidgets.QTabBar.ButtonPosition.LeftSide, None)
except Exception:
pass
# class FCTabBar(QtWidgets.QTabBar):