mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Fix context menu translation support
This commit is contained in:
1 parent
49e55135c5
commit
cd24d3edf9
2 files changed
+11
-11
No files matched your search
@@ -411,7 +411,7 @@ PopupContextMenuScreen::PopupContextMenuScreen(const ContextMenuItem *items, siz
|
||||
void PopupContextMenuScreen::CreatePopupContents(UI::ViewGroup *parent) {
|
||||
for (size_t i = 0; i < itemCount_; i++) {
|
||||
if (items_[i].imageID) {
|
||||
Choice *choice = new Choice(items_[i].text, ImageID(items_[i].imageID));
|
||||
Choice *choice = new Choice(category_->T(items_[i].text), ImageID(items_[i].imageID));
|
||||
parent->Add(choice);
|
||||
if (enabled_[i]) {
|
||||
choice->OnClick.Add([=](EventParams &p) {
|
||||
|
||||
Reference in new issue
Block a user