Skip to content
Permalink
Browse files

Fix broken activation of label dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk@14668 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 14, 2010
1 parent c26fb34 commit ee822083b4e0f82468c9d1afd00cae2e34d1ab0f
Showing with 7 additions and 0 deletions.
  1. +6 −0 src/app/qgsvectorlayerproperties.cpp
  2. +1 −0 src/app/qgsvectorlayerproperties.h
@@ -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()


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

void QgsVectorLayerProperties::enableLabelOptions( bool theFlag )
{
labelOptionsFrame->setEnabled( theFlag );
}
@@ -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();

0 comments on commit ee82208

Please sign in to comment.
You can’t perform that action at this time.