forked from len0rd/rockbox
Theme Editor: Fixed conditional viewport display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27185 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9d6b5d6317
commit
1fbea62797
3 changed files with 10 additions and 1 deletions
|
|
@ -133,7 +133,10 @@ void RBScreen::loadViewport(QString name, RBViewport *view)
|
|||
void RBScreen::showViewport(QString name)
|
||||
{
|
||||
if(namedViewports.value(name, 0) == 0)
|
||||
{
|
||||
displayedViewports.append(name);
|
||||
return;
|
||||
}
|
||||
|
||||
QList<RBViewport*>* list = namedViewports.value(name, 0);
|
||||
for(int i = 0; i < list->count(); i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue