From c2d7fe6d519193a6de3d4cde591f831f90e8c589 Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Oct 11 2017 07:38:17 +0000 Subject: increment alphabet (#1515) --- diff --git a/toonz/sources/toonz/penciltestpopup.cpp b/toonz/sources/toonz/penciltestpopup.cpp index ceb0c9e..ee4180b 100644 --- a/toonz/sources/toonz/penciltestpopup.cpp +++ b/toonz/sources/toonz/penciltestpopup.cpp @@ -1777,7 +1777,10 @@ void PencilTestPopup::onImageCaptured(int id, const QImage& image) { m_cameraViewfinder->setPreviousImage(procImg); if (Preferences::instance()->isShowFrameNumberWithLettersEnabled()) { int f = m_frameNumberEdit->getValue(); - m_frameNumberEdit->setValue(((int)(f / 10) + 1) * 10); + if (f % 10 == 0) // next number + m_frameNumberEdit->setValue(((int)(f / 10) + 1) * 10); + else // next alphabet + m_frameNumberEdit->setValue(f + 1); } else m_frameNumberEdit->setValue(m_frameNumberEdit->getValue() + 1);