button release at the end of a selection is opening inset dialogs again !
Whoever broke this, please fix it !
Here is the code I added for the bugfix :
828 // if we reach this point with a selection, it
829 // must mean we are currently selecting.
830 // But we don't want to open the inset
831 // because that is annoying for the user.
832 // So just pretend we didn't hit it.
833 // this is OK because a "kosher" ButtonRelease
834 // will follow a ButtonPress that clears
835 // the selection.
836 // Note this also fixes selection drawing
837 // problems if we end up opening an inset
838 if (bv_->getLyXText()->selection.set())
839 return;
BufferView_pimpl.C
regards
john
--
"Yes, I understand your point, but This Is UA, and not some fluffy creche."
- Topper