Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Set role for Exit Group (#1875)

artisteacher5a5e920632bc
diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cpp
index 3853cbef8..e75ed5f5e 100644
--- a/toonz/sources/toonz/mainwindow.cpp
+++ b/toonz/sources/toonz/mainwindow.cpp
@@ -1424,6 +1424,9 @@ QAction *MainWindow::createAction(const char *id, const QString &name,
if (strcmp(id, MI_ShortcutPopup) == 0) {
action->setMenuRole(QAction::NoRole);
}
+ if (strcmp(id,MI_ExitGroup) == 0) {
+ action->setMenuRole(QAction::NoRole);
+ }
#endif
CommandManager::instance()->define(id, type, defaultShortcut.toStdString(),
action);