make sorting window use main ncmpcpp loop

This commit is contained in:
Andrzej Rybczak
2009-08-30 02:47:46 +02:00
parent 62ba4ce343
commit 18e611bee2
11 changed files with 355 additions and 356 deletions

View File

@@ -65,7 +65,7 @@ void Clock::Resize()
{
if (myPlaylist->hasToBeResized)
myPlaylist->Resize();
myPlaylist->Main()->Hide();
myPlaylist->Items->Hide();
w->Display();
}
}
@@ -88,7 +88,7 @@ void Clock::SwitchTo()
Resize();
myScreen = this;
myPlaylist->Main()->Hide();
myPlaylist->Items->Hide();
RedrawHeader = 1;
Prepare();
// clearing screen apparently fixes the problem with last digits being misrendered