Mercurial > hg > svgui
diff layer/TextLayer.cpp @ 307:a66ff2059dae
* Add image layer icon (from GIMP)
* If you cancel the dialog that pops up when you click to insert a new
image or text point, ensure that the point is not added
author | Chris Cannam |
---|---|
date | Fri, 05 Oct 2007 16:31:30 +0000 |
parents | cd2492c5fe45 |
children | c0b9eec70639 |
line wrap: on
line diff
--- a/layer/TextLayer.cpp Fri Oct 05 16:05:23 2007 +0000 +++ b/layer/TextLayer.cpp Fri Oct 05 16:31:30 2007 +0000 @@ -442,6 +442,8 @@ TextModel::RelabelCommand *command = new TextModel::RelabelCommand(m_model, m_editingPoint, label); m_editingCommand->addCommand(command); + } else { + m_editingCommand->deletePoint(m_editingPoint); } m_editingCommand->finish();