Fix some actions being incorrectly threaded

Change-Id: Ic8406344994ef2a9972207f9281b52e64e22826b
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
This commit is contained in:
Vojtech Bocek
2015-01-12 18:25:59 +01:00
committed by Dees Troy
parent fb759d45f5
commit 85cfb7d7b7
+1 -1
View File
@@ -361,7 +361,7 @@ int GUIAction::flash_zip(std::string filename, int* wipe_cache)
bool GUIAction::needsToRunInSeparateThread(const GUIAction::Action& action)
{
return setActionsRunningInCallerThread.find(action.mFunction) == setActionsRunningInCallerThread.end();
return setActionsRunningInCallerThread.find(gui_parse_text(action.mFunction)) == setActionsRunningInCallerThread.end();
}
int GUIAction::doActions()