mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix #8587, show/hide labels tool throws Qt warning
This commit is contained in:
parent
c705034977
commit
5f61dd12fe
@ -173,10 +173,10 @@ void QgsMapToolShowHideLabels::showHideLabels( QMouseEvent * e )
|
||||
labelChanged = true;
|
||||
}
|
||||
}
|
||||
vlayer->endEditCommand();
|
||||
|
||||
if ( labelChanged )
|
||||
{
|
||||
vlayer->endEditCommand();
|
||||
mCanvas->refresh();
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user