- minor changes to one of the custom widgets
This commit is contained in:
@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM Evo beta
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
6.05.2022
|
||||||
|
|
||||||
|
- minor changes to one of the custom widgets
|
||||||
|
|
||||||
5.05.2022
|
5.05.2022
|
||||||
|
|
||||||
- changed the activity GIF's for the dark theme
|
- changed the activity GIF's for the dark theme
|
||||||
|
|||||||
@@ -3249,7 +3249,17 @@ class FCDetachableTab(QtWidgets.QTabWidget):
|
|||||||
|
|
||||||
def protectTab(self, currentIndex):
|
def protectTab(self, currentIndex):
|
||||||
# self.FCTabBar().setTabButton(currentIndex, QtWidgets.QTabBar.RightSide, None)
|
# 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)
|
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):
|
def setMovable(self, movable):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user