Skip to content

Commit

Permalink
Fix QgsProjectProperties dialog - first cpp patch from Milena
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14637 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Nov 14, 2010
1 parent faa91d2 commit 7697714
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsprojectproperties.cpp
Expand Up @@ -79,6 +79,8 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *pa
if ( automaticPrecision )
{
radAutomatic->setChecked( true );
spinBoxDP->setDisabled( true );
labelDP->setDisabled( true );
}
else
{
Expand Down
6 changes: 3 additions & 3 deletions src/ui/qgsprojectpropertiesbase.ui
Expand Up @@ -267,7 +267,7 @@
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="textLabel3">
<widget class="QLabel" name="labelDP">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand Down Expand Up @@ -452,7 +452,7 @@
<connection>
<sender>radManual</sender>
<signal>clicked(bool)</signal>
<receiver>textLabel3</receiver>
<receiver>labelDP</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
Expand Down Expand Up @@ -484,7 +484,7 @@
<connection>
<sender>radAutomatic</sender>
<signal>clicked(bool)</signal>
<receiver>textLabel3</receiver>
<receiver>labelDP</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
Expand Down

0 comments on commit 7697714

Please sign in to comment.