mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Prevent providers to be created via "Open Recent" menu while tasks are running
This commit is contained in:
@@ -387,6 +387,8 @@ namespace hex::plugin::builtin::recent {
|
||||
|
||||
menu::endMenu();
|
||||
}
|
||||
}, [] {
|
||||
return TaskManager::getRunningTaskCount() == 0 && !s_recentEntriesUpdating && !s_recentEntries.empty();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user