+ support Bezier curves for SVG output

This commit is contained in:
wmayer
2015-01-11 16:02:27 +01:00
parent 82edb4b50a
commit 0b904e674b
3 changed files with 89 additions and 1 deletions

View File

@@ -332,7 +332,9 @@ void DrawingView::setDocumentObject(const std::string& name)
void DrawingView::closeEvent(QCloseEvent* ev)
{
ev->accept();
MDIView::closeEvent(ev);
if (!ev->isAccepted())
return;
// when closing the view from GUI notify the view provider to mark it invisible
if (_pcDocument && !m_objectName.empty()) {