mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Unconditionally reset mDragSelectingCells to false on mouse-up, so that the system doesn't remain in table selection mode when dragging outside a table. bug=210197. r+sr=mats.palmgren
This commit is contained in:
parent
e411aee1b0
commit
e2c16e860b
@ -2533,6 +2533,7 @@ nsFrameSelection::SetMouseDownState(PRBool aState)
|
||||
|
||||
if (!mMouseDownState)
|
||||
{
|
||||
mDragSelectingCells = PR_FALSE;
|
||||
PostReason(nsISelectionListener::MOUSEUP_REASON);
|
||||
NotifySelectionListeners(nsISelectionController::SELECTION_NORMAL); //notify that reason is mouse up please.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user