From 51811b84cb0d830794eefe0e4a3a937dcdf812a1 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Fri, 6 May 2022 01:43:14 +0300 Subject: [PATCH] - minor changes to another custom widget --- appGUI/GUIElements.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appGUI/GUIElements.py b/appGUI/GUIElements.py index d922fca1..8d5ced51 100644 --- a/appGUI/GUIElements.py +++ b/appGUI/GUIElements.py @@ -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):