Show palette entry info in status bar correctly when there are selected colors (fix #1777)

This commit is contained in:
David Capello 2018-07-05 11:02:07 -03:00
parent f0d61b0557
commit 7f2082e89c

View File

@ -904,7 +904,9 @@ void PaletteView::setStatusBar()
case State::WAITING:
case State::SELECTING_COLOR:
if (m_hot.part == Hit::COLOR) {
if (m_hot.part == Hit::COLOR ||
m_hot.part == Hit::OUTLINE ||
m_hot.part == Hit::POSSIBLE_COLOR) {
int i = MID(0, m_hot.color, currentPalette()->size()-1);
StatusBar::instance()->showColor(