Hide dialog before setting props.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1511 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-06-02 13:16:26 +00:00
parent 32a594b885
commit ca3c3c055d

View File

@ -40,15 +40,9 @@ PluginGui::~PluginGui()
void PluginGui::pbnOK_clicked()
{
//
// If you have a produced a raster layer using your plugin, you can ask qgis to
// add it to the view using:
// emit drawRasterLayer(QString("layername"));
// or for a vector layer
// emit drawVectorLayer(QString("pathname"),QString("layername"),QString("provider name (either ogr or postgres"));
//
//hide the dialog before we send all our signals
hide();
//close the dialog
//emit refreshCanvas();
emit changeFont(txtCopyrightText->currentFont());
emit changeLabel(txtCopyrightText->text());
emit changeColor(txtCopyrightText->color());