implement frames save and open from ppi

This commit is contained in:
2019-10-17 23:41:37 +02:00
parent 880eb7a406
commit 4e0520da80
9 changed files with 165 additions and 128 deletions

View File

@@ -54,7 +54,7 @@ void App::create()
void App::open_document(std::string path)
{
std::regex r(R"((.*)[\\/]?([^\\/]+)\.(\w+)$)");
std::regex r(R"((.*)[\\/]([^\\/]+)\.(\w+)$)");
std::smatch m;
if (!std::regex_search(path, m, r))
return;