mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Hide geolocation history
Hide geolocation hist on non-geotrack Update memory parse of no-memory to include nickname (new strings have {0} for no-memory).
This commit is contained in:
parent
f25b36a306
commit
e9b0dc09b2
1 changed files with 5 additions and 1 deletions
|
@ -29,6 +29,9 @@ namespace PKHeX.WinForms
|
|||
region.InitializeBinding();
|
||||
GetLangStrings();
|
||||
LoadFields();
|
||||
|
||||
if (!(pkm is IGeoTrack))
|
||||
tabControl1.TabPages.Remove(Tab_Residence);
|
||||
}
|
||||
|
||||
private bool init;
|
||||
|
@ -233,7 +236,8 @@ namespace PKHeX.WinForms
|
|||
int mem = WinFormsUtil.GetIndex(m);
|
||||
if (mem == 0)
|
||||
{
|
||||
result = GameInfo.Strings.memories[38];
|
||||
string nn = pkm.Nickname;
|
||||
result = string.Format(GameInfo.Strings.memories[mem + 38], nn);
|
||||
enabled = false;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue