OpenToonz - An open-source full-featured 2D animation creation software
C
resolve preferences compatibility
shun-iwasawa6fd4f228d224
diff --git a/toonz/sources/toonzlib/preferences.cpp b/toonz/sources/toonzlib/preferences.cppindex e0c1d86eb..edfad435f 100644--- a/toonz/sources/toonzlib/preferences.cpp+++ b/toonz/sources/toonzlib/preferences.cpp@@ -829,6 +829,16 @@ void Preferences::resolveCompatibility() {setValue(rasterLevelCachingBehavior,m_settings->value("initialLoadTlvCachingBehavior").toInt());}+ // "inputCellsWithoutDoubleClicking" is changed to "cellInputMethod", adding a+ // new default option "Input by Numpad". If the conventional option is+ // activated, set the new option to "Input by Single Click" to keep+ // compatibility.+ if (m_settings->contains("inputCellsWithoutDoubleClickingEnabled") &&+ !m_settings->contains("cellInputMethod")) {+ if (m_settings->value("inputCellsWithoutDoubleClickingEnabled").toBool() ==+ true)+ setValue(cellInputMethod, 2);+ }}//-----------------------------------------------------------------