forked from Wobbl/Wobuzz
OOPing it more: Removed gui_communication/track_control.py and the complete gui_communication directory.
This commit is contained in:
parent
07e53ef2e7
commit
cd6d37497f
9 changed files with 126 additions and 156 deletions
|
@ -11,6 +11,7 @@ class GUI:
|
|||
|
||||
self.window = MainWindow(app)
|
||||
self.settings = self.window.settings
|
||||
self.track_control = self.window.track_control
|
||||
|
||||
self.window.addDockWidget(Qt.DockWidgetArea.RightDockWidgetArea, self.app.library.main_library_dock)
|
||||
|
||||
|
@ -37,3 +38,7 @@ class GUI:
|
|||
def on_settings_change(self, key, value):
|
||||
self.settings.update_settings(key, value)
|
||||
|
||||
def on_track_change(self, previous_track, track):
|
||||
self.track_control.on_track_change(previous_track, track)
|
||||
self.app.library.on_track_change(previous_track, track)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue