Don't show "File have unsaved change" if you only opened file.

--HG--
branch : develop
This commit is contained in:
dismine 2014-06-03 14:25:31 +03:00
parent 26ef72c201
commit 20cedcc9a1

View File

@ -78,7 +78,6 @@ VAbstractTool::VAbstractTool(VPattern *doc, VContainer *data, quint32 id, QObjec
connect(this, &VAbstractTool::toolhaveChange, this->doc, &VPattern::haveLiteChange); connect(this, &VAbstractTool::toolhaveChange, this->doc, &VPattern::haveLiteChange);
connect(this->doc, &VPattern::FullUpdateFromFile, this, &VAbstractTool::FullUpdateFromFile); connect(this->doc, &VPattern::FullUpdateFromFile, this, &VAbstractTool::FullUpdateFromFile);
connect(this, &VAbstractTool::FullUpdateTree, this->doc, &VPattern::FullUpdateTree); connect(this, &VAbstractTool::FullUpdateTree, this->doc, &VPattern::FullUpdateTree);
emit toolhaveChange();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------