add ppbr info data
This commit is contained in:
@@ -610,7 +610,12 @@ void App::dialog_ppbr_export()
|
||||
App::I->pick_file_save({ "ppbr" }, [this, dialog] (std::string path) {
|
||||
std::thread([this, path, dialog] {
|
||||
BT_SetTerminate();
|
||||
presets->export_ppbr(path, dialog->m_header_image);
|
||||
NodePanelBrushPreset::PPBRInfo info;
|
||||
info.author = dialog->txt_author->m_text;
|
||||
info.url = dialog->txt_url->m_text;
|
||||
info.email = dialog->txt_email->m_text;
|
||||
info.descr = dialog->txt_descr->m_text;
|
||||
presets->export_ppbr(path, info);
|
||||
dialog->destroy();
|
||||
App::I->message_box("Export PPBR", "Brushes exported to:\n" + path);
|
||||
}).detach();
|
||||
|
||||
Reference in New Issue
Block a user