Skip to content
Permalink
Browse files

[layouts] Fix mouse event handling on rulers

  • Loading branch information
nyalldawson committed Feb 23, 2018
1 parent a800a37 commit 5114d6056bc687380d8157e8d6b26f9cb827d1ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/layout/qgslayoutruler.cpp
@@ -715,7 +715,7 @@ void QgsLayoutRuler::mousePressEvent( QMouseEvent *event )

void QgsLayoutRuler::mouseReleaseEvent( QMouseEvent *event )
{
if ( mView->currentLayout() )
if ( !mView->currentLayout() )
return;

if ( event->button() == Qt::LeftButton )

0 comments on commit 5114d60

Please sign in to comment.
You can’t perform that action at this time.