Fix crash. Valentina crashes when scale scene after creating new pattern due to
uninitialized toolbar. --HG-- branch : develop
This commit is contained in:
parent
502882ec70
commit
751820a39b
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user