parent
5587a4e56c
commit
9fa3e34beb
|
@ -174,7 +174,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
private void BrowseFolder(TextBox box, string name, string system)
|
private void BrowseFolder(TextBox box, string name, string system)
|
||||||
{
|
{
|
||||||
// Ugly hack, we don't want to pass in the system in for system base and global paths
|
// Ugly hack, we don't want to pass in the system in for system base and global paths
|
||||||
if (name == "Base" || system == "Global" || system == PathEntryCollection.GLOBAL)
|
if (system is not null && (name is "Base" || system is "Global" || system == PathEntryCollection.GLOBAL))
|
||||||
{
|
{
|
||||||
BrowseFolder(box, name, system: null);
|
BrowseFolder(box, name, system: null);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue