Skip to content

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

C

Fix bug with panel not updated.

Konstantin Dmitrieve60a59b3e031
diff --git a/toonz/sources/toonz/scenebrowser.cpp b/toonz/sources/toonz/scenebrowser.cpp
index 61d7c0c66..b9b252d07 100644
--- a/toonz/sources/toonz/scenebrowser.cpp
+++ b/toonz/sources/toonz/scenebrowser.cpp
@@ -226,7 +226,6 @@ SceneBrowser::SceneBrowser(QWidget *parent, Qt::WFlags flags, bool noContextMenu
ret =
ret && connect(m_itemViewer, SIGNAL(selectedItems(const std::set<int> &)),
this, SLOT(onSelectedItems(const std::set<int> &)));
- ret = ret && connect(buttonBar, SIGNAL(folderUp()), this, SLOT(folderUp()));
ret = ret && connect(buttonBar, SIGNAL(newFolder()), this, SLOT(newFolder()));
ret = ret && connect(&m_frameCountReader, SIGNAL(calculatedFrameCount()),
@@ -250,13 +249,6 @@ SceneBrowser::SceneBrowser(QWidget *parent, Qt::WFlags flags, bool noContextMenu
// folder history
ret = ret && connect(m_folderTreeView, SIGNAL(currentNodeChanged()), this,
SLOT(storeFolderHistory()));
- ret = ret && connect(buttonBar, SIGNAL(folderBack()), this,
- SLOT(onBackButtonPushed()));
- ret = ret && connect(buttonBar, SIGNAL(folderFwd()), this,
- SLOT(onFwdButtonPushed()));
- // when the history changes, enable/disable the history buttons accordingly
- ret = ret && connect(this, SIGNAL(historyChanged(bool, bool)), buttonBar,
- SLOT(onHistoryChanged(bool, bool)));
// check out the update of the current folder.
// Use MyFileSystemWatcher which is shared by all browsers.