Fix FolderBrowserDialog's under mono

Mono doesnt work well with RootFolder of DesktopDirectory,
you end up being stuck in ~/Desktop/.  Instead when being
run under mono use MyComputer, which dumps you to /
This commit is contained in:
Jim Westfall
2014-12-07 10:01:27 -08:00
parent b54610c2f6
commit 39e4a6114f
3 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ namespace ROMVault2
{
ShowNewFolderButton = true,
Description = @"Please select a folder for Dats",
RootFolder = Environment.SpecialFolder.DesktopDirectory,
RootFolder = (Settings.IsMono ? Environment.SpecialFolder.MyComputer : Environment.SpecialFolder.DesktopDirectory),
SelectedPath = @"apps"
};