case Qt::Key_Y: return "y";
case Qt::Key_Z: return "z";
+ case Qt::Key_Return: return "Return";
case Qt::Key_Escape: return "Escape";
case Qt::Key_Tab: return "Tab";
case Qt::Key_Backspace: return "BackSpace";
bool KeySymbol::isOK() const
{
- bool const ok = !(text_.empty() && key_ == Qt::Key_unknown);
+ bool const ok = !(text_.empty() && qkey_to_string(key_).empty());
LYXERR(Debug::KEY, "isOK is " << ok);
return ok;
}