Don't warn if ui callback was posted without loop

This commit is contained in:
Nikita Lisitsa 2021-02-25 21:03:27 +03:00
parent 90782d479a
commit 79e0009422

View file

@ -41,8 +41,6 @@ namespace psemek::ui
auto l = root()->loop(); auto l = root()->loop();
if (l) if (l)
l->post(std::move(f)); l->post(std::move(f));
else
log::warning() << "posting ui event while not attached to event loop";
} }
void element::post_reshape() void element::post_reshape()