1
0
mirror of synced 2024-11-12 02:00:52 +01:00

fix: Don't capture the editor pointer by reference

This commit is contained in:
WerWolv 2024-05-17 23:19:28 +02:00
parent 2546c042dc
commit 22e717d778

View File

@ -47,7 +47,7 @@ namespace hex::plugin::builtin {
}
if(ImGuiExt::IconHyperlink(ICON_VS_SEARCH, "hex.builtin.view.hex_editor.search.advanced"_lang)) {
TaskManager::doLater([&editor] {
TaskManager::doLater([editor] {
const auto& view = ContentRegistry::Views::getViewByName("hex.builtin.view.find.name");
view->getWindowOpenState() = true;