OpenToonz - An open-source full-featured 2D animation creation software
C
Add new preset to the shortcut window
artisteacher77bbc270c34d
diff --git a/toonz/sources/toonz/shortcutpopup.cpp b/toonz/sources/toonz/shortcutpopup.cppindex a808b91bc..067390cdd 100644--- a/toonz/sources/toonz/shortcutpopup.cpp+++ b/toonz/sources/toonz/shortcutpopup.cpp@@ -708,7 +708,12 @@ void ShortcutPopup::onLoadPreset() {TFilePath fp = defaultPresetDir + TFilePath("otharmony.ini");setPresetShortcuts(fp);return;- } else if (preset == "Adobe Animate(Flash)") {+ } else if (preset == "Adobe Animate") {+ clearAllShortcuts(false);+ TFilePath fp = defaultPresetDir + TFilePath("otanimate.ini");+ setPresetShortcuts(fp);+ return;+ } else if (preset == "Adobe Flash Pro") {clearAllShortcuts(false);TFilePath fp = defaultPresetDir + TFilePath("otadobe.ini");setPresetShortcuts(fp);@@ -736,7 +741,8 @@ QStringList ShortcutPopup::buildPresets() {<< "OpenToonz"//<< "RETAS PaintMan"<< "Toon Boom Harmony"- << "Adobe Animate(Flash)";+ << "Adobe Animate"+ << "Adobe Flash Pro";TFilePath presetDir =ToonzFolder::getMyModuleDir() + TFilePath("shortcutpresets");if (TSystem::doesExistFileOrLevel(presetDir)) {