Skip to content

Commit

Permalink
[TD]fix LeaderLine autoHorizontal
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Jan 23, 2020
1 parent 9e73609 commit 96bdea2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Mod/TechDraw/Gui/QGILeaderLine.cpp
Expand Up @@ -280,14 +280,8 @@ void QGILeaderLine::onLineEditFinished(QPointF tipDisplace, std::vector<QPointF>
featLeader->adjustLastSegment();
}

if (m_parentItem == nullptr) {
Base::Console().Warning("QGILL::onLineEditFinished - m_parentItem is NULL\n");
} else {
QGIView* qgiv = dynamic_cast<QGIView*>(m_parentItem);
if (qgiv != nullptr) {
Q_EMIT editComplete(); //to task
}
}
Q_EMIT editComplete(); //tell task editing is complete

m_blockDraw = false;
m_editPath->hide();
draw();
Expand Down

0 comments on commit 96bdea2

Please sign in to comment.