Beter handling of new vs existing files.

This commit is contained in:
eelke 2017-02-19 17:40:43 +01:00
parent 4adb78a84e
commit 874ca664b8
2 changed files with 7 additions and 2 deletions

View file

@ -70,6 +70,7 @@ public:
QString fileName() const { return m_fileName; }
bool isChanged() const { return m_queryTextChanged; }
bool isNew() const { return m_new; }
private:
// struct ResultTab {
@ -90,6 +91,7 @@ private:
QueryParamListController *m_queryParamListController = nullptr;
bool m_new = true;
QString m_fileName; ///< use setFileName function to set
bool m_queryTextChanged = false;