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/qgis@5424 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed May 7, 2006
1 parent 46bce5f commit 76a1f2e42d98892a3141eb65743f6cf8ff2adb90
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 76a1f2e

Please sign in to comment.