forked from Wobbl/Wobuzz
Made the main Library not be a dock.
This commit is contained in:
parent
67f27c8a15
commit
a4d1d31e0b
7 changed files with 21 additions and 27 deletions
|
@ -23,12 +23,7 @@ class GUI:
|
|||
|
||||
self.popups = Popups(app, self)
|
||||
|
||||
self.window.addDockWidget(Qt.DockWidgetArea.LeftDockWidgetArea, self.app.library.main_library_dock)
|
||||
|
||||
self.app.library.main_library_dock.setFeatures(
|
||||
QDockWidget.DockWidgetFeature.DockWidgetMovable |
|
||||
QDockWidget.DockWidgetFeature.DockWidgetFloatable
|
||||
)
|
||||
self.window.setCentralWidget(self.app.library.main_library_widget)
|
||||
|
||||
if self.app.settings.window_maximized:
|
||||
self.window.showMaximized()
|
||||
|
@ -68,8 +63,8 @@ class GUI:
|
|||
def on_track_change(self, previous_track, track):
|
||||
self.track_control.on_track_change(previous_track, track)
|
||||
|
||||
for dock_id in self.app.player.current_playlist.views:
|
||||
view = self.app.player.current_playlist.views[dock_id]
|
||||
for library_widget_id in self.app.player.current_playlist.views:
|
||||
view = self.app.player.current_playlist.views[library_widget_id]
|
||||
view.on_track_change(previous_track, track)
|
||||
|
||||
def on_background_job_start(self, job_name: str, description: str, steps: int=0, getter: any=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue