mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Provider load interface not opening
This commit is contained in:
@@ -37,10 +37,13 @@ namespace hex::plugin::windows {
|
||||
|
||||
[[nodiscard]] std::string getName() const override { return hex::format("hex.windows.provider.process_memory.name"_lang, this->m_selectedProcess != nullptr ? this->m_selectedProcess->name : ""); }
|
||||
[[nodiscard]] std::vector<Description> getDataDescription() const override {
|
||||
return {
|
||||
if (this->m_selectedProcess == nullptr)
|
||||
return {};
|
||||
else
|
||||
return {
|
||||
{ "hex.windows.provider.process_memory.process_name"_lang, this->m_selectedProcess->name },
|
||||
{ "hex.windows.provider.process_memory.process_id"_lang, std::to_string(this->m_selectedProcess->id) }
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
[[nodiscard]] bool open() override;
|
||||
|
||||
Reference in New Issue
Block a user