Fixed: Mouse wheel and keyboard events problem in object_viewer_qt
This commit is contained in:
parent
aeb4923843
commit
6c01af4ec1
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ void CGraphicsViewport::init()
|
||||||
Modules::psEdit().init();
|
Modules::psEdit().init();
|
||||||
|
|
||||||
setMouseTracking(true);
|
setMouseTracking(true);
|
||||||
|
setFocusPolicy(Qt::StrongFocus);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGraphicsViewport::release()
|
void CGraphicsViewport::release()
|
||||||
|
|
Loading…
Reference in a new issue