From 94146e1345333a0a9af8ae270a05cd6606bbeb29 Mon Sep 17 00:00:00 2001 From: shun_iwasawa Date: Apr 19 2016 07:37:29 +0000 Subject: fix palette crash --- 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;