diff --git a/CHANGELOG.md b/CHANGELOG.md index 170e96d1..bd2fe800 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ CHANGELOG for FlatCAM Evo beta ================================================= +6.05.2022 + +- minor changes to one of the custom widgets + 5.05.2022 - changed the activity GIF's for the dark theme diff --git a/appGUI/GUIElements.py b/appGUI/GUIElements.py index 8f4d5409..d922fca1 100644 --- a/appGUI/GUIElements.py +++ b/appGUI/GUIElements.py @@ -3249,7 +3249,17 @@ class FCDetachableTab(QtWidgets.QTabWidget): def protectTab(self, currentIndex): # self.FCTabBar().setTabButton(currentIndex, QtWidgets.QTabBar.RightSide, None) + # self.tabBar.tabButton(currentIndex, QtWidgets.QTabBar.ButtonPosition.RightSide).deleteLater() + # try: + # self.tabBar.tabButton(currentIndex, QtWidgets.QTabBar.ButtonPosition.RightSide).deleteLater() + # except Exception: + # pass + self.tabBar.setTabButton(currentIndex, QtWidgets.QTabBar.ButtonPosition.RightSide, None) + try: + self.tabBar.setTabButton(currentIndex, QtWidgets.QTabBar.ButtonPosition.LeftSide, None) + except Exception: + pass def setMovable(self, movable): """