svtools/source/control/ruler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b881aba777de30bb6b4f365f4d7b86040882441d Author: Noel Grandin <[email protected]> AuthorDate: Sat Sep 12 13:42:34 2020 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Sep 12 14:54:03 2020 +0200 tdf#136217 fix moving tag in writer regression from commit e67657d5211f6e95ddf8bd621108608573b00d5d loplugin:simplifybool more Change-Id: I4c62a7922734ea76ecec580491bfe8b0f62b781b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102514 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 46c9afcdb1cf..d23264972ce8 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -1915,7 +1915,7 @@ void Ruler::ImplEndDrag() void Ruler::MouseButtonDown( const MouseEvent& rMEvt ) { - if ( rMEvt.IsLeft() || IsTracking() ) + if ( !rMEvt.IsLeft() || IsTracking() ) return; Point aMousePos = rMEvt.GetPosPixel(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
