Skip to content

Commit ce2f87a

Browse files
committedJul 4, 2015
Fix setting symbol width/size/rotation from right click menu
(fix #13070) (cherry-picked from 4bff1e0)
1 parent 37c8b9e commit ce2f87a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/gui/symbology-ng/qgsrendererv2widget.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void QgsRendererV2Widget::changeSymbolWidth()
130130

131131
QgsDataDefinedWidthDialog dlg( symbolList, mLayer );
132132

133-
if ( QMessageBox::Ok == dlg.exec() )
133+
if ( QDialog::Accepted == dlg.exec() )
134134
{
135135
if ( !dlg.mDDBtn->isActive() )
136136
{
@@ -155,7 +155,7 @@ void QgsRendererV2Widget::changeSymbolSize()
155155

156156
QgsDataDefinedSizeDialog dlg( symbolList, mLayer );
157157

158-
if ( QMessageBox::Ok == dlg.exec() )
158+
if ( QDialog::Accepted == dlg.exec() )
159159
{
160160
if ( !dlg.mDDBtn->isActive() )
161161
{
@@ -180,7 +180,7 @@ void QgsRendererV2Widget::changeSymbolAngle()
180180

181181
QgsDataDefinedRotationDialog dlg( symbolList, mLayer );
182182

183-
if ( QMessageBox::Ok == dlg.exec() )
183+
if ( QDialog::Accepted == dlg.exec() )
184184
{
185185
if ( !dlg.mDDBtn->isActive() )
186186
{

0 commit comments

Comments
 (0)
Please sign in to comment.