From 1183a600302d89654b8c5493c8df1337e9f5d10e Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Fri, 6 May 2022 00:21:31 +0300 Subject: [PATCH] - minor changes to one of the custom widgets --- CHANGELOG.md | 4 ++++ appGUI/GUIElements.py | 10 ++++++++++ 2 files changed, 14 insertions(+) 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): """