Fix some actions being incorrectly threaded
Change-Id: Ic8406344994ef2a9972207f9281b52e64e22826b
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
diff --git a/gui/action.cpp b/gui/action.cpp
index a341e4a..c298d02 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -361,7 +361,7 @@
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()