summaryrefslogtreecommitdiffstats
path: root/gui/partitionlist.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-01-05 21:58:36 +0100
committerDees Troy <dees_troy@teamw.in>2015-01-09 23:07:07 +0100
commit96af84a4094c2018d35c792e33813c07344f553c (patch)
tree025b4d6f6d5d7c517ef32370661cbf9147a58bb6 /gui/partitionlist.cpp
parentgui: fix action threading if background thread is busy (diff)
downloadandroid_bootable_recovery-96af84a4094c2018d35c792e33813c07344f553c.tar
android_bootable_recovery-96af84a4094c2018d35c792e33813c07344f553c.tar.gz
android_bootable_recovery-96af84a4094c2018d35c792e33813c07344f553c.tar.bz2
android_bootable_recovery-96af84a4094c2018d35c792e33813c07344f553c.tar.lz
android_bootable_recovery-96af84a4094c2018d35c792e33813c07344f553c.tar.xz
android_bootable_recovery-96af84a4094c2018d35c792e33813c07344f553c.tar.zst
android_bootable_recovery-96af84a4094c2018d35c792e33813c07344f553c.zip
Diffstat (limited to '')
-rw-r--r--gui/partitionlist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/partitionlist.cpp b/gui/partitionlist.cpp
index 9cc6a777b..3ec15488a 100644
--- a/gui/partitionlist.cpp
+++ b/gui/partitionlist.cpp
@@ -793,6 +793,10 @@ int GUIPartitionList::NotifyTouch(TOUCH_STATE state, int x, int y)
DataManager::SetValue(mVariable, str);
}
} else {
+ if (ListType == "flashimg") { // only one item can be selected for flashing images
+ for (int i=0; i<listSize; i++)
+ mList.at(i).selected = 0;
+ }
if (mList.at(actualSelection).selected)
mList.at(actualSelection).selected = 0;
else