diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-01-24 10:02:18 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-01-24 10:02:18 +0000 |
commit | 4b387a4d07cf9b9a257ca81b87ba3996d15991cf (patch) | |
tree | d06e107805cf59c63dbd7c69c1271190ee8e3f7b /rbutil/rbutilqt | |
parent | 9b0b6584f8fa6729ffafb2d38b3dc79751d5d9f4 (diff) |
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
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r-- | rbutil/rbutilqt/install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QString, QString> 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); |