Fix clicking "Index" and "RGB" button on color selector

To avoid adding the m_titleLabel to the ColorPopup/PopupWindowPin().
This commit is contained in:
David Capello 2017-03-09 16:38:42 -03:00
parent 62db0c73a3
commit 52375f3aa9

View File

@ -48,7 +48,7 @@ enum {
}; };
ColorPopup::ColorPopup(bool canPin) ColorPopup::ColorPopup(bool canPin)
: PopupWindowPin("Color Selector", : PopupWindowPin(std::string(),
ClickBehavior::CloseOnClickInOtherWindow, ClickBehavior::CloseOnClickInOtherWindow,
canPin) canPin)
, m_vbox(VERTICAL) , m_vbox(VERTICAL)