summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD├ívid Kolozsv├íri <[email protected]>2015-03-21 12:44:57 +0100
committerTorsten Rahn <[email protected]>2015-03-21 12:48:49 +0100
commitf5b791dbea460ac6d4cd075eeb0fb4e8683889de (patch)
tree1907249a77d0a3f752a648232b72fc065c05c0c0
parent186947c1b5ea62535cd933524e75d98e13fc85fc (diff)
REVIEW: 122977
Fixed not showing the texture, when adding a Ground Overlay from the Edit Maps panel.
-rw-r--r--src/plugins/render/annotate/EditGroundOverlayDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/render/annotate/EditGroundOverlayDialog.cpp b/src/plugins/render/annotate/EditGroundOverlayDialog.cpp
index e401d55..df7d6d2 100644
--- a/src/plugins/render/annotate/EditGroundOverlayDialog.cpp
+++ b/src/plugins/render/annotate/EditGroundOverlayDialog.cpp
@@ -73,9 +73,6 @@ EditGroundOverlayDialog::EditGroundOverlayDialog( GeoDataGroundOverlay *overlay,
d->m_rotation->setValue( latLonBox.rotation( GeoDataCoordinates::Degree ) );
connect( d->buttonBox->button( QDialogButtonBox::Ok ), SIGNAL(pressed()), this, SLOT(checkFields()) );
- connect( d->buttonBox->button( QDialogButtonBox::Ok ), SIGNAL(clicked()), this, SLOT(updateGroundOverlay()) );
- connect( d->buttonBox->button( QDialogButtonBox::Ok ), SIGNAL(clicked()), this, SLOT(setGroundOverlayUpdated()) );
- connect( d->buttonBox->button( QDialogButtonBox::Ok ), SIGNAL(clicked()), d->m_textureLayer, SLOT(reset()) );
}
EditGroundOverlayDialog::~EditGroundOverlayDialog()
@@ -118,6 +115,9 @@ void EditGroundOverlayDialog::checkFields()
tr( "Invalid image path" ),
tr( "Please specify a valid path for the image file." ) );
} else {
+ this->updateGroundOverlay();
+ this->setGroundOverlayUpdated();
+ d->m_textureLayer->reset();
accept();
}
}