-void InsetFloat::insetButtonRelease(BufferView * bv, int x, int y, int button)
-{
-#if 0
- if (x >= top_x
- && x < button_length
- && y >= button_top_y
- && y < button_bottom_y
- && button == 3) {
- // This obviously need to change.
- lyxerr << "InsetFloat: Let's edit this floats parameters!"
- << endl;
- //bv->owner()->getDialogs()->showFloat(this);
- } else {
- InsetCollapsable::insetButtonRelease(bv, x, y, button);
- }
-#else
- if (button == 3) {
- showInsetDialog(bv);
- return;
- }
- InsetCollapsable::insetButtonRelease(bv, x, y, button);
-#endif
-}
-
-