Commit 2919de74 authored by Luigi Toscano's avatar Luigi Toscano
Browse files

Fix: do not delete the map if Cancel is selected

This error has been around for a long while.
parent aeaa5b9e
......@@ -2703,7 +2703,7 @@ void KImageMapEditor::mapDelete()
" <br /><b>There is no way to undo this.</b></qt>", selectedMap),
i18n("Delete Map?"),KGuiItem(i18n("&Delete"),"edit-delete"));
if (result == KMessageBox::No)
if (result == KMessageBox::Cancel)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment