mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
When a user minimizes the window using a shortcut that uses modifiers (alt, ctrl, shift), the state of the button remained "pressed" after the window was reraised. Added a hideevent which resets the button state.
This commit is contained in:
parent
db3a96ae6d
commit
b8e34cb1a2
@ -24,6 +24,9 @@
|
||||
History
|
||||
|
||||
$Log$
|
||||
Revision 1.119 2007/03/26 08:24:10 zifnab1974
|
||||
When a user minimizes the window using a shortcut that uses modifiers (alt, ctrl, shift), the state of the button remained "pressed" after the window was reraised. Added a hideevent which resets the button state.
|
||||
|
||||
Revision 1.118 2007/03/20 16:22:34 cignoni
|
||||
Big small change in accessing mesh interface. First step toward layers
|
||||
|
||||
@ -865,3 +868,8 @@ void GLArea::updateFps(float deltaTime)
|
||||
|
||||
void GLArea::resetTrackBall(){trackball.Reset();updateGL();}
|
||||
|
||||
void GLArea::hideEvent(QHideEvent * /*event*/)
|
||||
{
|
||||
trackball.current_button=0;
|
||||
}
|
||||
|
||||
|
||||
@ -24,6 +24,9 @@
|
||||
History
|
||||
|
||||
$Log$
|
||||
Revision 1.72 2007/03/26 08:24:10 zifnab1974
|
||||
When a user minimizes the window using a shortcut that uses modifiers (alt, ctrl, shift), the state of the button remained "pressed" after the window was reraised. Added a hideevent which resets the button state.
|
||||
|
||||
Revision 1.71 2007/03/09 11:08:09 mariolatronico
|
||||
Removed unnecessary modifier
|
||||
|
||||
@ -307,6 +310,8 @@ protected:
|
||||
void wheelEvent(QWheelEvent*e);
|
||||
bool drawSelection;
|
||||
|
||||
void hideEvent(QHideEvent * event);
|
||||
|
||||
private:
|
||||
|
||||
void pasteTile();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user