save brushes settings
This commit is contained in:
@@ -124,7 +124,7 @@ void App::dialog_newdoc()
|
||||
App::I.hideKeyboard();
|
||||
};
|
||||
|
||||
if (Asset::exist(path, false))
|
||||
if (Asset::exist(path))
|
||||
{
|
||||
// ask confirm is file already exist
|
||||
auto msgbox = new NodeMessageBox();
|
||||
@@ -331,7 +331,7 @@ void App::dialog_save_ver()
|
||||
static char tmp_name[256];
|
||||
sprintf(tmp_name, "%s.%02d", base.c_str(), i);
|
||||
next = tmp_name;
|
||||
if (Asset::exist(doc_dir + "/" + next + ".ppi", false))
|
||||
if (Asset::exist(doc_dir + "/" + next + ".ppi"))
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
@@ -382,7 +382,7 @@ void App::dialog_save()
|
||||
App::I.hideKeyboard();
|
||||
};
|
||||
|
||||
if (Asset::exist(path, false))
|
||||
if (Asset::exist(path))
|
||||
{
|
||||
// ask confirm is file already exist
|
||||
auto msgbox = new NodeMessageBox();
|
||||
|
||||
Reference in New Issue
Block a user