mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
some rework on gameprotocol class
This commit is contained in:
@@ -37,6 +37,9 @@ void UILayout::updateLater()
|
||||
if(m_updateScheduled)
|
||||
return;
|
||||
|
||||
if(!getParentWidget())
|
||||
return;
|
||||
|
||||
auto self = asUILayout();
|
||||
g_dispatcher.addEvent([self] {
|
||||
self->m_updateScheduled = false;
|
||||
|
Reference in New Issue
Block a user