Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix setting symbol width/size/rotation from right click menu
(fix #13070)

(cherry-picked from 4bff1e0)
  • Loading branch information
nyalldawson committed Jul 4, 2015
1 parent 37c8b9e commit ce2f87a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/symbology-ng/qgsrendererv2widget.cpp
Expand Up @@ -130,7 +130,7 @@ void QgsRendererV2Widget::changeSymbolWidth()

QgsDataDefinedWidthDialog dlg( symbolList, mLayer );

if ( QMessageBox::Ok == dlg.exec() )
if ( QDialog::Accepted == dlg.exec() )
{
if ( !dlg.mDDBtn->isActive() )
{
Expand All @@ -155,7 +155,7 @@ void QgsRendererV2Widget::changeSymbolSize()

QgsDataDefinedSizeDialog dlg( symbolList, mLayer );

if ( QMessageBox::Ok == dlg.exec() )
if ( QDialog::Accepted == dlg.exec() )
{
if ( !dlg.mDDBtn->isActive() )
{
Expand All @@ -180,7 +180,7 @@ void QgsRendererV2Widget::changeSymbolAngle()

QgsDataDefinedRotationDialog dlg( symbolList, mLayer );

if ( QMessageBox::Ok == dlg.exec() )
if ( QDialog::Accepted == dlg.exec() )
{
if ( !dlg.mDDBtn->isActive() )
{
Expand Down

0 comments on commit ce2f87a

Please sign in to comment.