add more shortcuts and checks
This commit is contained in:
@@ -1615,9 +1615,11 @@ void ui::Canvas::project_save_thread(std::string file_path)
|
||||
|
||||
App::I.async_start();
|
||||
pb->destroy();
|
||||
App::I.title_update();
|
||||
App::I.async_update();
|
||||
App::I.async_end();
|
||||
m_unsaved = false;
|
||||
m_newdoc = false;
|
||||
}
|
||||
|
||||
void ui::Canvas::project_open(std::string file_path, std::function<void()> on_complete)
|
||||
@@ -1761,9 +1763,11 @@ void ui::Canvas::project_open_thread(std::string file_path)
|
||||
gl.save();
|
||||
App::I.async_update();
|
||||
gl.restore();
|
||||
App::I.title_update();
|
||||
App::I.async_end();
|
||||
}
|
||||
m_unsaved = false;
|
||||
m_newdoc = false;
|
||||
}
|
||||
|
||||
ui::Image ui::Canvas::thumbnail_generate(int w, int h)
|
||||
|
||||
Reference in New Issue
Block a user