diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cpp index 12e90d6..64615f4 100644 --- a/toonz/sources/toonz/mainwindow.cpp +++ b/toonz/sources/toonz/mainwindow.cpp @@ -2112,6 +2112,8 @@ void MainWindow::defineActions() { createMenuWindowsAction(MI_OpenFileBrowser, QT_TR_NOOP("&File Browser"), "", "filebrowser"); + createMenuWindowsAction(MI_OpenPreproductionBoard, QT_TR_NOOP("&Preproduction Board"), "", + "scenebrowser"); createMenuWindowsAction(MI_OpenFileViewer, QT_TR_NOOP("&Flipbook"), "", "flipbook"); createMenuWindowsAction(MI_OpenFunctionEditor, QT_TR_NOOP("&Function Editor"), diff --git a/toonz/sources/toonz/scenebrowser.cpp b/toonz/sources/toonz/scenebrowser.cpp index b8e7cc2..618b673 100644 --- a/toonz/sources/toonz/scenebrowser.cpp +++ b/toonz/sources/toonz/scenebrowser.cpp @@ -103,12 +103,6 @@ QMutex levelFileMutex; } // namespace -inline bool isMultipleFrameType(std::string type) { - return (type == "tlv" || type == "tzl" || type == "pli" || type == "mov" || - type == "avi" || type == "3gp" || type == "gif" || type == "mp4" || - type == "webm"); -} - //============================================================================= // // SceneBrowserButtonBar @@ -2207,4 +2201,4 @@ void SceneBrowser::tryToOpenScene(const TFilePath &filePath) { //============================================================================= OpenFloatingPanel openPreproductionBoardPane(MI_OpenPreproductionBoard, "PreproductionBoard", - QObject::tr("Preproduction Board")); \ No newline at end of file + QObject::tr("Preproduction Board"));