1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

DemoRunner: Don't select demos ListBox row if it has been dismissed

This commit is contained in:
ed 2021-05-26 08:52:35 +01:00
parent fd8c6ce15c
commit 99d122e4fb

View file

@ -248,7 +248,8 @@ private:
else
demoHolder.setDemo (selectedCategory, row);
selectFirstRow();
if (demos.isShowing())
selectFirstRow();
}
void selectFirstRow()