Skip to content

Commit ee82208

Browse files
author
timlinux
committedNov 14, 2010
Fix broken activation of label dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@14668 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c26fb34 commit ee82208

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎src/app/qgsvectorlayerproperties.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ void QgsVectorLayerProperties::reset( void )
517517

518518
loadRows();
519519
QObject::connect( tblAttributes, SIGNAL( cellChanged( int, int ) ), this, SLOT( on_tblAttributes_cellChanged( int, int ) ) );
520+
QObject::connect( labelCheckBox, SIGNAL( clicked( bool ) ), this, SLOT( enableLabelOptions( bool ) ) );
520521
} // reset()
521522

522523

@@ -1258,3 +1259,8 @@ void QgsVectorLayerProperties::on_tabWidget_currentChanged( int index )
12581259
teMetadata->setHtml( metadata() );
12591260
mMetadataFilled = true;
12601261
}
1262+
1263+
void QgsVectorLayerProperties::enableLabelOptions( bool theFlag )
1264+
{
1265+
labelOptionsFrame->setEnabled( theFlag );
1266+
}

‎src/app/qgsvectorlayerproperties.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ class QgsVectorLayerProperties : public QDialog, private Ui::QgsVectorLayerPrope
107107
void on_tabWidget_currentChanged( int idx );
108108
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
109109

110+
void enableLabelOptions( bool theFlag );
110111
void addAttribute();
111112
void deleteAttribute();
112113

0 commit comments

Comments
 (0)
Please sign in to comment.