Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85cfb7d7 authored by Vojtech Bocek's avatar Vojtech Bocek Committed by Dees Troy
Browse files

Fix some actions being incorrectly threaded



Change-Id: Ic8406344994ef2a9972207f9281b52e64e22826b
Signed-off-by: default avatarVojtech Bocek <vbocek@gmail.com>
parent fb759d45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()