Skip to content
Permalink
Browse files
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
  • Loading branch information
g_j_m committed May 7, 2006
1 parent 0eed881 commit 9fea53c874a8032b3fc636ae42a5e5c9e979fcb9
Showing with 4 additions and 0 deletions.
  1. +1 −0 src/gui/qgsvectorlayer.cpp
  2. +3 −0 src/gui/qgsvectorlayerproperties.cpp
@@ -1193,6 +1193,7 @@ void QgsVectorLayer::showLayerProperties()
}
else
{
m_propertiesDialog->reset();
m_propertiesDialog->show();
m_propertiesDialog->raise();
}
@@ -219,6 +219,9 @@ void QgsVectorLayerProperties::reset( void )
//update the transparency percentage label
sliderTransparency_valueChanged(255 - layer->getTransparency());

// Get the label tab to update itself.
labelDialog->init();

} // reset()


0 comments on commit 9fea53c

Please sign in to comment.