Path fixes and PNG Unix icons

This commit is contained in:
Michael J. Seiferling
2016-03-03 16:42:49 -06:00
parent 0cafd00bf3
commit f050061b76
6 changed files with 52 additions and 31 deletions
+8 -2
View File
@@ -336,8 +336,14 @@ Public Class frmGameManager
End If
End If
sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "ico", _
frmGameManager_Icon, sDefaultFolder, False)
'Unix Handler
If Not mgrCommon.IsUnix Then
sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "ico", _
frmGameManager_Icon, sDefaultFolder, False)
Else
sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "png", _
"PNG", sDefaultFolder, False)
End If
If sNewPath <> String.Empty Then
txtIcon.Text = sNewPath