Fix crash. Valentina crashes when scale scene after creating new pattern due to

uninitialized toolbar.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-01-20 09:25:08 +02:00
parent 502882ec70
commit 751820a39b

View File

@ -3357,6 +3357,8 @@ void MainWindow::New()
m_curFileFormatVersion = VPatternConverter::PatternMaxVer; m_curFileFormatVersion = VPatternConverter::PatternMaxVer;
m_curFileFormatVersionStr = VPatternConverter::PatternMaxVerStr; m_curFileFormatVersionStr = VPatternConverter::PatternMaxVerStr;
ToolBarOption();
} }
else else
{ {