Skip to content

Commit

Permalink
Update the contents of the vector layer properties box everytime that
Browse files Browse the repository at this point in the history
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 76a1f2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsvectorlayer.cpp
Expand Up @@ -1193,6 +1193,7 @@ void QgsVectorLayer::showLayerProperties()
}
else
{
m_propertiesDialog->reset();
m_propertiesDialog->show();
m_propertiesDialog->raise();
}
Expand Down
3 changes: 3 additions & 0 deletions src/gui/qgsvectorlayerproperties.cpp
Expand Up @@ -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()


Expand Down

0 comments on commit 76a1f2e

Please sign in to comment.