mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Don't capture the editor pointer by reference
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user