diff --git a/toonz/sources/toonzqt/paletteviewer.cpp b/toonz/sources/toonzqt/paletteviewer.cpp index 528f19e..a82c788 100644 --- a/toonz/sources/toonzqt/paletteviewer.cpp +++ b/toonz/sources/toonzqt/paletteviewer.cpp @@ -160,7 +160,7 @@ void PaletteViewer::setPaletteHandle(TPaletteHandle *paletteHandle) bool ret = true; if (m_paletteHandle) - ret = ret && disconnect(m_paletteHandle); + ret = ret && disconnect(m_paletteHandle,0,this,0); m_paletteHandle = paletteHandle;