Allow Section based on ViewMulti

This commit is contained in:
WandererFan
2017-10-02 13:48:45 -03:00
committed by Yorik van Havre
parent 86d9191023
commit 4b3ab9e74e
8 changed files with 103 additions and 59 deletions
+1 -3
View File
@@ -163,7 +163,6 @@ void TaskSectionView::updateValues()
m_section->SectionOrigin.setValue(origin);
m_section->SectionSymbol.setValue(ui->leSymbol->text().toUtf8().constData());
m_base->touch();
m_base->getDocument()->recompute();
}
@@ -302,8 +301,7 @@ bool TaskSectionView::reject()
PageName.c_str(),SectionName.c_str());
Gui::Command::doCommand(Gui::Command::Gui,"App.activeDocument().removeObject('%s')",SectionName.c_str());
Gui::Command::doCommand(Gui::Command::Gui,"Gui.ActiveDocument.resetEdit()");
m_base->touch();
m_base->getDocument()->recompute();
m_base->findParentPage()->requestPaint();
return false;
}