Disable the option to hide main toolbar
This commit is contained in:
parent
0eda4eff17
commit
acf8d700a4
7
main.py
7
main.py
@ -229,6 +229,13 @@ class DockerGUI(QMainWindow):
|
||||
self.create_volume_action.setVisible(True)
|
||||
self.remove_volume_action.setVisible(True)
|
||||
|
||||
# override QMainWindow.createPopupMenu
|
||||
def createPopupMenu(self):
|
||||
filtered_menu = super(DockerGUI, self).createPopupMenu()
|
||||
filtered_menu.removeAction(self.toolbar.toggleViewAction())
|
||||
|
||||
return filtered_menu
|
||||
|
||||
def update_visible_tabs(self, index):
|
||||
for i in range(self.tab_widget.count()):
|
||||
if i == index:
|
||||
|
Loading…
x
Reference in New Issue
Block a user