From 52375f3aa9f7c2b7fa0186be697428711b59ae1a Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 9 Mar 2017 16:38:42 -0300 Subject: [PATCH] Fix clicking "Index" and "RGB" button on color selector To avoid adding the m_titleLabel to the ColorPopup/PopupWindowPin(). --- src/app/ui/color_popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/color_popup.cpp b/src/app/ui/color_popup.cpp index fdd5db9ea..abf9aa89d 100644 --- a/src/app/ui/color_popup.cpp +++ b/src/app/ui/color_popup.cpp @@ -48,7 +48,7 @@ enum { }; ColorPopup::ColorPopup(bool canPin) - : PopupWindowPin("Color Selector", + : PopupWindowPin(std::string(), ClickBehavior::CloseOnClickInOtherWindow, canPin) , m_vbox(VERTICAL)