fix refreshing dialog window
This commit is contained in:
@@ -321,7 +321,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else if (Keypressed(input, Key.End))
|
else if (Keypressed(input, Key.End))
|
||||||
{
|
{
|
||||||
myWindow->Main()->Scroll(wEnd);
|
myScreen->Scroll(wEnd);
|
||||||
}
|
}
|
||||||
else if (input == KEY_RESIZE)
|
else if (input == KEY_RESIZE)
|
||||||
{
|
{
|
||||||
@@ -1320,6 +1320,9 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
mDialog->Display();
|
mDialog->Display();
|
||||||
|
|
||||||
|
myOldScreen = myScreen;
|
||||||
|
myScreen = myHelp; // temp hack, prevent playlist from updating
|
||||||
|
|
||||||
while (!Keypressed(input, Key.Enter))
|
while (!Keypressed(input, Key.Enter))
|
||||||
{
|
{
|
||||||
TraceMpdStatus();
|
TraceMpdStatus();
|
||||||
@@ -1340,6 +1343,8 @@ int main(int argc, char *argv[])
|
|||||||
mDialog->Scroll(wEnd);
|
mDialog->Scroll(wEnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
myScreen = myOldScreen;
|
||||||
|
|
||||||
size_t id = mDialog->Choice();
|
size_t id = mDialog->Choice();
|
||||||
|
|
||||||
myScreen->Refresh();
|
myScreen->Refresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user