locig: refresh after edit project

* implemented saving project settings force-refreshes the project if something has changed.
* when nothing has changed while editing the project settings, the project is not refreshed anymore.
* new project window is cleared now before it is displayed.
This commit is contained in:
malte_langkabel
2016-01-18 10:59:32 +01:00
parent 3852bb7e5c
commit 743f91e882
11 changed files with 78 additions and 45 deletions
+3 -3
View File
@@ -17,9 +17,9 @@ public:
~Project();
bool loadProject(const FilePath& projectSettingsFile);
bool saveProject(const FilePath& projectSettingsFile);
void reloadProject();
bool load(const FilePath& projectSettingsFile, bool forceRefresh);
bool save(const FilePath& projectSettingsFile);
void reload();
void clearStorage();