mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
UI: Oops, use tag for focus too.
This commit is contained in:
parent
60f00820f8
commit
705ab497f2
@ -166,7 +166,12 @@ std::string View::Describe() const {
|
||||
|
||||
void View::PersistData(PersistStatus status, std::string anonId, PersistMap &storage) {
|
||||
// Remember if this view was a focused view.
|
||||
const std::string focusedKey = "ViewFocused::" + anonId;
|
||||
std::string tag = Tag();
|
||||
if (tag.empty()) {
|
||||
tag = anonId;
|
||||
}
|
||||
|
||||
const std::string focusedKey = "ViewFocused::" + tag;
|
||||
switch (status) {
|
||||
case UI::PERSIST_SAVE:
|
||||
if (HasFocus()) {
|
||||
|
Loading…
Reference in New Issue
Block a user