mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
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
This commit is contained in:
parent
9b0b6584f8
commit
4b387a4d07
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ void Install::setVersionStrings(QMap<QString, QString> ver)
|
||||||
|
|
||||||
// try to use the old selection first. If no selection has been made
|
// try to use the old selection first. If no selection has been made
|
||||||
// in the past, use a preselection based on released status.
|
// 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);
|
ui.radioStable->setChecked(true);
|
||||||
else if(settings->build() == "archived")
|
else if(settings->build() == "archived")
|
||||||
ui.radioArchived->setChecked(true);
|
ui.radioArchived->setChecked(true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue