mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 07:15:31 +03:00
Fix null issue
This commit is contained in:
parent
d935fb4a95
commit
f50837b22f
@ -23,7 +23,7 @@ public class EtoDialogHelper : DialogHelper
|
||||
}
|
||||
var sd = new SaveFileDialog
|
||||
{
|
||||
FileName = GetDefaultFileName(defaultPath, lastExt)
|
||||
FileName = GetDefaultFileName(defaultPath, lastExt!)
|
||||
};
|
||||
_fileFilters.Set(sd, FileFilterGroup.Pdf | FileFilterGroup.Image, lastExt);
|
||||
SetDir(sd, defaultPath);
|
||||
@ -63,7 +63,7 @@ public class EtoDialogHelper : DialogHelper
|
||||
}
|
||||
var sd = new SaveFileDialog
|
||||
{
|
||||
FileName = GetDefaultFileName(defaultPath, lastExt)
|
||||
FileName = GetDefaultFileName(defaultPath, lastExt!)
|
||||
};
|
||||
var filterGroups = EtoPlatform.Current.IsGtk
|
||||
? FileFilterGroup.AllImages | FileFilterGroup.Image
|
||||
|
Loading…
Reference in New Issue
Block a user