summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-13 04:46:53 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-13 04:46:53 (GMT)
commitdd9ae7ee4112e9a1aa1ffe968951b6b8f63ade09 (patch)
treeabed0d85e6ceebeffae05dd5552875bc9fc9aa8c
parent51e13644d02ce400f55aa2c0547ba0c339a4e8b8 (diff)
Fix: make Cancel button work in OsmRelationEditorDialog
-rw-r--r--src/lib/marble/osm/OsmRelationEditorDialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/marble/osm/OsmRelationEditorDialog.cpp b/src/lib/marble/osm/OsmRelationEditorDialog.cpp
index 4f00363..67577fe 100644
--- a/src/lib/marble/osm/OsmRelationEditorDialog.cpp
+++ b/src/lib/marble/osm/OsmRelationEditorDialog.cpp
@@ -64,6 +64,7 @@ OsmRelationEditorDialog::OsmRelationEditorDialog( OsmPlacemarkData *relationData
QObject::connect( m_buttonBox, SIGNAL( accepted() ),
this, SLOT( checkFields() ) );
+ connect(m_buttonBox, SIGNAL(rejected()), SLOT(reject()));
}
OsmRelationEditorDialog::~OsmRelationEditorDialog()