diff --git a/stuff/profiles/layouts/rooms/Default/menubar_template.xml b/stuff/profiles/layouts/rooms/Default/menubar_template.xml index b96c221..8218e71 100644 --- a/stuff/profiles/layouts/rooms/Default/menubar_template.xml +++ b/stuff/profiles/layouts/rooms/Default/menubar_template.xml @@ -40,6 +40,8 @@ MI_Preferences MI_ShortcutPopup + MI_ClearCacheFolder + MI_Quit @@ -313,7 +315,6 @@ MI_OpenOnlineManual - MI_ClearCacheFolder MI_About diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cpp index 80dd42b..10169e5 100644 --- a/toonz/sources/toonz/mainwindow.cpp +++ b/toonz/sources/toonz/mainwindow.cpp @@ -1598,6 +1598,7 @@ void MainWindow::defineActions() { createMenuAction(MI_LoadRecentImage, tr("&Load Recent Image Files"), files); createMenuFileAction(MI_ClearRecentImage, tr("&Clear Recent Flipbook Image List"), ""); + createMenuFileAction(MI_ClearCacheFolder, tr("&Clear Cache Folder"), ""); createRightClickMenuAction(MI_PreviewFx, tr("Preview Fx"), ""); @@ -1968,7 +1969,6 @@ void MainWindow::defineActions() { createMenuWindowsAction(MI_About, tr("&About OpenToonz..."), ""); createMenuWindowsAction(MI_StartupPopup, tr("&Startup Popup..."), "Alt+S"); createMenuWindowsAction(MI_OpenOnlineManual, tr("&Online Manual..."), "F1"); - createMenuWindowsAction(MI_ClearCacheFolder, tr("&Clear Cache Folder"), ""); createRightClickMenuAction(MI_BlendColors, tr("&Blend colors"), ""); diff --git a/toonz/sources/toonz/menubar.cpp b/toonz/sources/toonz/menubar.cpp index d6e60fd..f7dc057 100644 --- a/toonz/sources/toonz/menubar.cpp +++ b/toonz/sources/toonz/menubar.cpp @@ -1117,6 +1117,8 @@ QMenuBar *StackedMenuBar::createFullMenuBar() { addMenuItem(fileMenu, MI_Preferences); addMenuItem(fileMenu, MI_ShortcutPopup); fileMenu->addSeparator(); + addMenuItem(fileMenu, MI_ClearCacheFolder); + fileMenu->addSeparator(); addMenuItem(fileMenu, MI_Quit); // Menu' EDIT @@ -1433,7 +1435,6 @@ QMenuBar *StackedMenuBar::createFullMenuBar() { addMenuItem(helpMenu, MI_OpenOnlineManual); helpMenu->addSeparator(); addMenuItem(helpMenu, MI_About); - addMenuItem(helpMenu, MI_ClearCacheFolder); // addMenuItem(fileMenu, MI_TestAnimation); // fileMenu->addSeparator();