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 14a449ab27
commit 28c04035ff

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