Skip to content

Commit 88c0b8d

Browse files
author
borysiasty
committedNov 14, 2010
Fix QgsProjectProperties dialog - first cpp patch from Milena
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14637 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎src/app/qgsprojectproperties.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *pa
7979
if ( automaticPrecision )
8080
{
8181
radAutomatic->setChecked( true );
82+
spinBoxDP->setDisabled( true );
83+
labelDP->setDisabled( true );
8284
}
8385
else
8486
{

‎src/ui/qgsprojectpropertiesbase.ui

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
</widget>
268268
</item>
269269
<item row="0" column="3">
270-
<widget class="QLabel" name="textLabel3">
270+
<widget class="QLabel" name="labelDP">
271271
<property name="sizePolicy">
272272
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
273273
<horstretch>0</horstretch>
@@ -452,7 +452,7 @@
452452
<connection>
453453
<sender>radManual</sender>
454454
<signal>clicked(bool)</signal>
455-
<receiver>textLabel3</receiver>
455+
<receiver>labelDP</receiver>
456456
<slot>setEnabled(bool)</slot>
457457
<hints>
458458
<hint type="sourcelabel">
@@ -484,7 +484,7 @@
484484
<connection>
485485
<sender>radAutomatic</sender>
486486
<signal>clicked(bool)</signal>
487-
<receiver>textLabel3</receiver>
487+
<receiver>labelDP</receiver>
488488
<slot>setDisabled(bool)</slot>
489489
<hints>
490490
<hint type="sourcelabel">

0 commit comments

Comments
 (0)
Please sign in to comment.