OpenToonz - An open-source full-featured 2D animation creation software
C
fix shift key loses focus when renaming cell
shun-iwasawa2b0b3e7262a1
diff --git a/toonz/sources/toonz/xshcellviewer.cpp b/toonz/sources/toonz/xshcellviewer.cppindex 6b4de9db6..121a00857 100644--- a/toonz/sources/toonz/xshcellviewer.cpp+++ b/toonz/sources/toonz/xshcellviewer.cpp@@ -1046,6 +1046,11 @@ void RenameCellField::keyPressEvent(QKeyEvent *event) {}offset = m_viewer->orientation()->arrowShift(key);break;+ case Qt::Key_Shift:+ // prevent the field to lose focus when typing shift key+ event->accept();+ return;+ break;default:QLineEdit::keyPressEvent(event);return;