FLTK: Don't oops() when unknown mouse button is pressed.
For example forward/backward buttons are present on many mouses but are not used by solvespace. This oops() caused solvespace to crash whenever those buttons were (accidentally) pressed.
This commit is contained in:
parent
8996833989
commit
12a29ddce0
|
@ -457,7 +457,7 @@ public:
|
||||||
case MOUSE(FL_RIGHT_MOUSE, FL_RELEASE):
|
case MOUSE(FL_RIGHT_MOUSE, FL_RELEASE):
|
||||||
SS.GW.MouseRightUp(x, y); break;
|
SS.GW.MouseRightUp(x, y); break;
|
||||||
|
|
||||||
default: oops(); break;
|
default: break;
|
||||||
}
|
}
|
||||||
#undef MOUSE
|
#undef MOUSE
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user