Fix spawning of About window
This commit is contained in:
parent
55d9708259
commit
4b4cbcaeac
|
@ -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) {
|
||||||
|
|
Ŝarĝante…
Reference in New Issue