Fixed: Mouse wheel and keyboard events problem in object_viewer_qt
This commit is contained in:
parent
14a449ab27
commit
28c04035ff
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