brush settings reset button, hook crash handler on every thread, update changelog

This commit is contained in:
2019-03-13 10:08:13 +01:00
parent 5a6f6f524a
commit 3d625567aa
14 changed files with 59 additions and 10 deletions

View File

@@ -21,6 +21,7 @@ void App::cloud_upload()
else
{
auto upload_thread = [this] {
BT_SetTerminate();
if (Canvas::I->m_unsaved)
{
Canvas::I->project_save_thread(doc_path);
@@ -74,6 +75,7 @@ void App::cloud_upload()
void App::cloud_upload_all()
{
std::thread([this] {
BT_SetTerminate();
auto names = Asset::list_files(data_path, ".*\\.ppi");
gl_state gl;
@@ -140,6 +142,7 @@ void App::cloud_browse()
return;
dialog->destroy();
std::thread([this, dialog] {
BT_SetTerminate();
async_start();
auto* m = layout[main_id]->add_child<NodeMessageBox>();
m->m_title->set_text("Downloading");