OpenToonz - An open-source full-featured 2D animation creation software
C
Fix extra selection in palette
DoctorRyan89d621f926f3
diff --git a/toonz/sources/toonzqt/paletteviewergui.cpp b/toonz/sources/toonzqt/paletteviewergui.cppindex fddf001a2..162a4aa18 100644--- a/toonz/sources/toonzqt/paletteviewergui.cpp+++ b/toonz/sources/toonzqt/paletteviewergui.cpp@@ -999,6 +999,8 @@ void PageViewer::mousePressEvent(QMouseEvent *event) {if (ShowNewStyleButton && indexInPage == getChipCount() &&!m_page->getPalette()->isLocked()) {PaletteCmd::createStyle(getPaletteHandle(), getPage());+ m_styleSelection->select(pageIndex);+ m_styleSelection->select(pageIndex, indexInPage, true);} else {// the user clicked out of the color chips.wants to deselect everything// (leaving the selection active, for a possible paste)