(b63c9bf0c) Fixed OpenFileDialog not closing on Linux

This commit is contained in:
Joonas Rikkonen
2019-05-23 17:04:30 +03:00
parent 834ee2947b
commit 304db988b1
5 changed files with 80 additions and 4 deletions
@@ -1074,7 +1074,7 @@ namespace Barotrauma
{
OnClicked = (btn, userdata) =>
{
OpenFileDialog ofd = new OpenFileDialog()
Barotrauma.OpenFileDialog ofd = new Barotrauma.OpenFileDialog()
{
InitialDirectory = Path.GetFullPath(Submarine.SavePath),
Filter = "PNG file|*.png",