mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-21 15:14:13 +00:00
PICARD-1488: Add media player toolbar to bottom by default.
The user can still customize this by dragging the player toolbar to any window edge.
This commit is contained in:
@@ -711,7 +711,7 @@ class MainWindow(QtWidgets.QMainWindow, PreserveGeometry):
|
||||
def create_player_toolbar(self):
|
||||
""""Create a toolbar with internal player control elements"""
|
||||
toolbar = self.player.create_toolbar()
|
||||
self.insertToolBar(self.search_toolbar, toolbar)
|
||||
self.addToolBar(QtCore.Qt.BottomToolBarArea, toolbar)
|
||||
self.player_toolbar_toggle_action = toolbar.toggleViewAction()
|
||||
toolbar.hide() # Hide by default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user