diff --git a/toonz/sources/tnztools/typetool.cpp b/toonz/sources/tnztools/typetool.cpp index 67add75..8c985c8 100644 --- a/toonz/sources/tnztools/typetool.cpp +++ b/toonz/sources/tnztools/typetool.cpp @@ -1616,6 +1616,7 @@ bool TypeTool::keyDown(QKeyEvent *event) { break; default: + if (unicodeChar.empty()) return false; replaceText(unicodeChar, m_cursorIndex, m_cursorIndex); m_cursorIndex++; m_preeditRange = std::make_pair(m_cursorIndex, m_cursorIndex);