mirror of https://github.com/WerWolv/ImHex.git
fix: Don't capture the editor pointer by reference
This commit is contained in:
parent
2546c042dc
commit
22e717d778
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue