Do not override edit cursor with pre-selection

This commit is contained in:
wmayer
2013-04-10 13:57:44 +02:00
parent 2255bdd30b
commit bbfa8bd40b
8 changed files with 43 additions and 41 deletions

View File

@@ -789,14 +789,14 @@ void View3DInventor::removeOverlayWidget()
if (overlay) stack->removeWidget(overlay);
}
void View3DInventor::setCursor(const QCursor& aCursor)
void View3DInventor::setOverrideCursor(const QCursor& aCursor)
{
_viewer->getWidget()->setCursor(aCursor);
}
void View3DInventor::setCursor(Qt::CursorShape aCursor)
void View3DInventor::restoreOverrideCursor()
{
_viewer->getWidget()->setCursor(aCursor);
_viewer->getWidget()->setCursor(QCursor(Qt::ArrowCursor));
}
void View3DInventor::dump(const char* filename)