Fix file dialog children updates not working
This was reported in https://forums.aparoksha.dev/d/5-at-state-and-fileexporter-dont-like-each-other
This commit is contained in:
parent
f89b44cee6
commit
90349fd435
@ -89,7 +89,7 @@ public struct FileDialog: AdwaitaWidget {
|
||||
guard let mainStorage = storage.content[.mainContent]?.first else {
|
||||
return
|
||||
}
|
||||
child.updateStorage(storage, data: data, updateProperties: updateProperties, type: type)
|
||||
child.updateStorage(mainStorage, data: data, updateProperties: updateProperties, type: type)
|
||||
if open.update, storage.fields["callbacks"] == nil {
|
||||
var unref: [OpaquePointer?] = []
|
||||
let pointer = gtk_file_dialog_new()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user