Lyrics: reset position of a window when fetching
This commit is contained in:
1
NEWS
1
NEWS
@@ -4,6 +4,7 @@ ncmpcpp-0.8.2 (????-??-??)
|
|||||||
* Fixed fetching lyrics from lyricsmania.com, metrolyrics.com and sing365.com
|
* Fixed fetching lyrics from lyricsmania.com, metrolyrics.com and sing365.com
|
||||||
* Search engine now properly interacts with filtering
|
* Search engine now properly interacts with filtering
|
||||||
* Fixed redraw of separator after interface switch while MPD was stopped
|
* Fixed redraw of separator after interface switch while MPD was stopped
|
||||||
|
* Reset position of a window when fetching lyrics
|
||||||
|
|
||||||
ncmpcpp-0.8.1 (2017-10-11)
|
ncmpcpp-0.8.1 (2017-10-11)
|
||||||
* Setting 'colors_enabled' to 'no' no longer results in a crash.
|
* Setting 'colors_enabled' to 'no' no longer results in a crash.
|
||||||
|
|||||||
@@ -278,6 +278,7 @@ void Lyrics::fetch(const MPD::Song &s)
|
|||||||
{
|
{
|
||||||
stopDownload();
|
stopDownload();
|
||||||
w.clear();
|
w.clear();
|
||||||
|
w.reset();
|
||||||
m_song = s;
|
m_song = s;
|
||||||
if (loadLyrics(w, lyricsFilename(m_song)))
|
if (loadLyrics(w, lyricsFilename(m_song)))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user