diff --git a/libs/ui/source/edit.cpp b/libs/ui/source/edit.cpp index 64ab533f..7b43b313 100644 --- a/libs/ui/source/edit.cpp +++ b/libs/ui/source/edit.cpp @@ -427,7 +427,7 @@ namespace psemek::ui { post([weak_self = weak_from_this(), cb = on_text_entered_]{ if (auto self = weak_self.lock()) - cb(dynamic_cast(self.get())->text_); + cb(static_cast(self.get())->text_); }); } }