Don't warn if ui callback was posted without loop
This commit is contained in:
parent
90782d479a
commit
79e0009422
1 changed files with 0 additions and 2 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue