|
@@ -2601,11 +2601,15 @@ ImageLabeler::keyPressEvent(QKeyEvent *anEvent)
|
|
|
// Qt::NoModifier == anEvent->modifiers() &&
|
|
|
-1 != image_holder_->focusedSelection()) {
|
|
|
image_holder_->clearFocusOnArea();
|
|
|
+ image_holder_->clearEdition();
|
|
|
+ image_holder_->update();
|
|
|
}
|
|
|
|
|
|
if (Qt::Key_Escape == anEvent->key()) {
|
|
|
image_holder_->clearLast();
|
|
|
image_holder_->clearFocusOnArea();
|
|
|
+ image_holder_->clearEdition();
|
|
|
+ image_holder_->update();
|
|
|
}
|
|
|
|
|
|
if (Qt::Key_Z == anEvent->key() &&
|