Skip to content
Permalink
Browse files

Fix #8587, show/hide labels tool throws Qt warning

  • Loading branch information
dakcarto committed Sep 9, 2013
1 parent c705034 commit 5f61dd12feafe5d0a8634a819813fa5cc7cd5f4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsmaptoolshowhidelabels.cpp
@@ -173,10 +173,10 @@ void QgsMapToolShowHideLabels::showHideLabels( QMouseEvent * e )
labelChanged = true;
}
}
vlayer->endEditCommand();

if ( labelChanged )
{
vlayer->endEditCommand();
mCanvas->refresh();
}
else

0 comments on commit 5f61dd1

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