Skip to content

Commit

Permalink
fix: The information in control bar is not updated after unlink lyrics
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Oct 27, 2024
1 parent cdd9874 commit 38032c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LDDC/backend/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ def unlink_lyrics(self, msg: str = "") -> None:
self.offseted_lyrics = None
self.update_db_data()
self.show_artist_title(msg)
self.widget.new_lyrics.emit({})

def update_db_data(self) -> None:
local_song_lyrics.set_song(**self.song_info, lyrics_path=self.lyrics_path, config={k: v for k, v in self.config.items()
Expand Down

0 comments on commit 38032c9

Please sign in to comment.