OpenToonz - An open-source full-featured 2D animation creation software
C
fix custom panel registration
shun-iwasawa1e3d47dec4b1
diff --git a/toonz/sources/toonzqt/menubarcommand.cpp b/toonz/sources/toonzqt/menubarcommand.cppindex 5779c9fa9..e8cd8c654 100644--- a/toonz/sources/toonzqt/menubarcommand.cpp+++ b/toonz/sources/toonzqt/menubarcommand.cpp@@ -569,7 +569,10 @@ void DVMenuAction::onTriggered(QAction *action) {CommandManager::instance()->execute(action, menuAction());// simply execute the menu item and return- if (!m_isForRecentFiles) return;+ if (!m_isForRecentFiles) {+ m_triggeredActionIndex = -1;+ return;+ }int oldIndex = m_triggeredActionIndex;if (m_triggeredActionIndex != -1) m_triggeredActionIndex = -1;