mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
[mac] Fix for save dialog
This commit is contained in:
@@ -566,7 +566,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Filters - semicolon delimited list of file extensions
|
// Filters - semicolon delimited list of file extensions
|
||||||
if( filters != nil ) {
|
if( filters != nil && [filters length] > 0) {
|
||||||
filters = [filters stringByReplacingOccurrencesOfString:@"*." withString:@""];
|
filters = [filters stringByReplacingOccurrencesOfString:@"*." withString:@""];
|
||||||
filters = [filters stringByReplacingOccurrencesOfString:@" " withString:@""];
|
filters = [filters stringByReplacingOccurrencesOfString:@" " withString:@""];
|
||||||
NSArray *filterList = [filters componentsSeparatedByString:@";"];
|
NSArray *filterList = [filters componentsSeparatedByString:@";"];
|
||||||
|
|||||||
Reference in New Issue
Block a user