From 4b387a4d07cf9b9a257ca81b87ba3996d15991cf Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 24 Jan 2009 10:02:18 +0000 Subject: Don't allow pre-selecting stable build if the selected player doesn't have a release yet. Fixes wrong preselection if a stable build was installed before for a different target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19841 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/install.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbutil') diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp index a277adaa22..3fa0199582 100644 --- a/rbutil/rbutilqt/install.cpp +++ b/rbutil/rbutilqt/install.cpp @@ -295,7 +295,7 @@ void Install::setVersionStrings(QMap ver) // try to use the old selection first. If no selection has been made // in the past, use a preselection based on released status. - if(settings->build() == "stable") + if(settings->build() == "stable" && !version.value("rel_rev").isEmpty()) ui.radioStable->setChecked(true); else if(settings->build() == "archived") ui.radioArchived->setChecked(true); -- cgit v1.2.3