Skip to content

Commit 9fea53c

Browse files
author
g_j_m
committedMay 7, 2006
Update the contents of the vector layer properties box everytime that
it is shown. Resolves some problems where changing something in the dialog box, then clicking cancel, then bringing the dialog box and finding that some things weren't cancelled after all. git-svn-id: http://svn.osgeo.org/qgis/trunk@5424 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0eed881 commit 9fea53c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎src/gui/qgsvectorlayer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,7 @@ void QgsVectorLayer::showLayerProperties()
11931193
}
11941194
else
11951195
{
1196+
m_propertiesDialog->reset();
11961197
m_propertiesDialog->show();
11971198
m_propertiesDialog->raise();
11981199
}

‎src/gui/qgsvectorlayerproperties.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ void QgsVectorLayerProperties::reset( void )
219219
//update the transparency percentage label
220220
sliderTransparency_valueChanged(255 - layer->getTransparency());
221221

222+
// Get the label tab to update itself.
223+
labelDialog->init();
224+
222225
} // reset()
223226

224227

0 commit comments

Comments
 (0)
Please sign in to comment.