Skip to content

Commit

Permalink
Fix broken activation of label dialog
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14668 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 14, 2010
1 parent c26fb34 commit ee82208
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -517,6 +517,7 @@ void QgsVectorLayerProperties::reset( void )

loadRows();
QObject::connect( tblAttributes, SIGNAL( cellChanged( int, int ) ), this, SLOT( on_tblAttributes_cellChanged( int, int ) ) );
QObject::connect( labelCheckBox, SIGNAL( clicked( bool ) ), this, SLOT( enableLabelOptions( bool ) ) );
} // reset()


Expand Down Expand Up @@ -1258,3 +1259,8 @@ void QgsVectorLayerProperties::on_tabWidget_currentChanged( int index )
teMetadata->setHtml( metadata() );
mMetadataFilled = true;
}

void QgsVectorLayerProperties::enableLabelOptions( bool theFlag )
{
labelOptionsFrame->setEnabled( theFlag );
}
1 change: 1 addition & 0 deletions src/app/qgsvectorlayerproperties.h
Expand Up @@ -107,6 +107,7 @@ class QgsVectorLayerProperties : public QDialog, private Ui::QgsVectorLayerPrope
void on_tabWidget_currentChanged( int idx );
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }

void enableLabelOptions( bool theFlag );
void addAttribute();
void deleteAttribute();

Expand Down

0 comments on commit ee82208

Please sign in to comment.