Fix spawning of About window

This commit is contained in:
Jaidyn Ann 2022-08-09 11:39:20 -05:00
parent 55d9708259
commit 4b4cbcaeac

View File

@ -189,6 +189,7 @@ ReplicantView::RightClickPopUp(BPopUpMenu* menu)
BString aboutLabel = "About %replicant" B_UTF8_ELLIPSIS; BString aboutLabel = "About %replicant" B_UTF8_ELLIPSIS;
aboutLabel.ReplaceAll("%replicant", Name()); aboutLabel.ReplaceAll("%replicant", Name());
BMenuItem* aboutItem = new BMenuItem(aboutLabel, new BMessage(B_ABOUT_REQUESTED)); BMenuItem* aboutItem = new BMenuItem(aboutLabel, new BMessage(B_ABOUT_REQUESTED));
aboutItem->SetTarget(this);
menu->AddItem(aboutItem); menu->AddItem(aboutItem);
if (fReplicated) { if (fReplicated) {