mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-20 12:48:57 -06:00
refactor: Better interface for the event system
This commit is contained in:
@@ -306,7 +306,7 @@ namespace hex::plugin::builtin {
|
||||
void registerCommandForwarders() {
|
||||
hex::subcommands::registerSubCommand("open", [](const std::vector<std::string> &args){
|
||||
for (auto &arg : args) {
|
||||
EventManager::post<RequestOpenFile>(arg);
|
||||
RequestOpenFile::post(arg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user