Fixed: Mouse wheel and keyboard events problem in object_viewer_qt

This commit is contained in:
kervala 2011-01-22 17:47:16 +01:00
parent aeb4923843
commit 6c01af4ec1

View file

@ -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()