[companion] Default category on new file was added at the wrong place and also created when reading form radio

This commit is contained in:
Andre Bernet
2017-03-05 10:37:18 +01:00
parent b4059849e2
commit c3febf3560
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -597,10 +597,6 @@ void MdiChild::newFile()
isUntitled = true;
curFile = QString("document%1.otx").arg(sequenceNumber++);
updateTitle();
if (IS_HORUS(getCurrentBoard())) {
categoryAdd();
}
}
bool MdiChild::loadFile(const QString & filename, bool resetCurrentFile)