mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-14 04:05:52 -05:00
More sanity checks for argument strings
It just doesn't want to behave at all. Thanks BPSpike for reporting this edge case!
This commit is contained in:
@@ -388,7 +388,7 @@ private string getMemoryString(ComboBox m, ComboBox arg, ComboBox q, ComboBox f,
|
||||
{
|
||||
string result = "";
|
||||
string nn = m_parent.TB_Nickname.Text;
|
||||
string a = ((Util.cbItem)(arg.SelectedItem)).Text;
|
||||
string a = ((Util.cbItem)(arg.SelectedItem) == null) ? arg.Text ?? "ERROR" : ((Util.cbItem)(arg.SelectedItem)).Text;
|
||||
int mem = Util.getIndex(m);
|
||||
|
||||
bool enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user