summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbscreen.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-29 21:09:29 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-29 21:09:29 +0000
commit1fbea627972c889e2bde686679d2fc315c9b83bb (patch)
tree51be6781ac7bbbee0a036dac7b269f06f255bd04 /utils/themeeditor/graphics/rbscreen.cpp
parent9d6b5d63175168e427de1cad85c9d8ae4020b7c0 (diff)
downloadrockbox-1fbea627972c889e2bde686679d2fc315c9b83bb.tar.gz
rockbox-1fbea627972c889e2bde686679d2fc315c9b83bb.zip
Theme Editor: Fixed conditional viewport display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27185 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.cpp')
-rw-r--r--utils/themeeditor/graphics/rbscreen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp
index b93d3c88ad..f82c60ce6c 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -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++)