UI message parser

move message parser threads to UI set functions
This commit is contained in:
2024-08-28 19:59:23 +02:00
parent 70b953dc16
commit 8cabf7a6e9
8 changed files with 28 additions and 13 deletions
+1 -1
View File
@@ -27,6 +27,6 @@ void UI_button::click() const
{
if (m_on_click != nullptr)
{
m_on_click(m_id);
std::thread([this] { m_on_click(m_id); }).detach();
}
}