Wxwidgets: Pass correct mode when dumping
Wxwidgets dumping incorrectly passed mode description instead of mode to the dumper. Fix this.
This commit is contained in:
parent
caf13d2da4
commit
4f1bcd2112
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ void dumper_menu::update(const std::map<std::string, dumper_info>& new_dumpers)
|
|||
for(auto j : i.second.modes) {
|
||||
menustructure[i.first].start_items[id] = Append(id, towxstring("Dump " +
|
||||
i.second.name + " (" + j.second + ")"));
|
||||
menustructure[i.first].start_wxids[id++] = j.second;
|
||||
menustructure[i.first].start_wxids[id++] = j.first;
|
||||
}
|
||||
} else {
|
||||
menustructure[i.first].end_item = Append(id, towxstring("End " + i.second.name));
|
||||
|
|
Loading…
Add table
Reference in a new issue