File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments