Bedre sync
This commit is contained in:
@@ -41,7 +41,10 @@ class PlaylistInfoWindow(QWidget):
|
||||
playlist_panel.playlist_changed.connect(self._update)
|
||||
playlist_panel.status_changed.connect(lambda *_: self._update())
|
||||
|
||||
def _build_ui(self):
|
||||
def moveEvent(self, event):
|
||||
from PyQt6.QtCore import QSettings
|
||||
QSettings("LineDance", "Player").setValue("window/info_pos", self.pos())
|
||||
super().moveEvent(event)
|
||||
layout = QVBoxLayout(self)
|
||||
layout.setContentsMargins(12, 12, 12, 12)
|
||||
layout.setSpacing(8)
|
||||
|
||||
Reference in New Issue
Block a user