Remove lock from template.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-13 16:45:03 +03:00
parent 6ec1826fbd
commit 9a4b9ad106

View File

@ -375,6 +375,7 @@ void TMainWindow::OpenTemplate()
if (m != nullptr) if (m != nullptr)
{// The file was opened. {// The file was opened.
SetCurrentFile(""); // Force user to to save new file SetCurrentFile(""); // Force user to to save new file
lock.reset();// remove lock from template
} }
} }
else else