fix floating panels and iOS export picking
This commit is contained in:
@@ -609,9 +609,15 @@ void App::dialog_ppbr_export()
|
||||
info.descr = dialog->txt_descr->m_text;
|
||||
info.header_image = dialog->m_header_image;
|
||||
#if __IOS__
|
||||
App::I->pick_file_save("ppbr", [this, dialog, info] (std::string path) {
|
||||
presets->export_ppbr(path, info);
|
||||
});
|
||||
App::I->pick_file_save("ppbr",
|
||||
[this, dialog, info] (std::string path) {
|
||||
presets->export_ppbr(path, info);
|
||||
},
|
||||
[dialog] (bool saved) {
|
||||
if (saved)
|
||||
dialog->destroy();
|
||||
}
|
||||
);
|
||||
#else
|
||||
App::I->pick_file_save({ "ppbr" }, [this, dialog, info] (std::string path) {
|
||||
std::thread([this, path, dialog, info] {
|
||||
|
||||
Reference in New Issue
Block a user