Fix for Bug #4372
This commit is contained in:
committed by
wwmayer
parent
19db98ae54
commit
b89b674a1d
@@ -810,12 +810,9 @@ bool MainWindow::event(QEvent *e)
|
||||
if (!temp)
|
||||
return true;
|
||||
View3DInventorViewer *view = temp->getViewer();
|
||||
if (!view)
|
||||
return true;
|
||||
QWidget *viewWidget = view->getGLWidget();
|
||||
if (viewWidget) {
|
||||
if (view) {
|
||||
Spaceball::MotionEvent anotherEvent(*motionEvent);
|
||||
qApp->sendEvent(viewWidget, &anotherEvent);
|
||||
qApp->sendEvent(view, &anotherEvent);
|
||||
}
|
||||
return true;
|
||||
}else if(e->type() == QEvent::StatusTip) {
|
||||
|
||||
Reference in New Issue
Block a user