Fixed mechanism to properly restore last session (verify validity of

last file saved, i.e not empty or unsaved session).
This commit is contained in:
brunoherbelin
2020-07-09 13:13:52 +02:00
parent 0e33d80a8f
commit 7f3867521e
6 changed files with 26 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ public:
bool init(int id, GLFWwindow *share = NULL);
void setIcon(const std::string &resource);
void setTitle(const std::string &title);
void setTitle(const std::string &title = "");
// show window (fullscreen if needed)
void show();