[aseprite] 109/308: Fix PopupWindow size hint when it doesn't have a title
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:44:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit e422acff1fbb4905aaa341baa73d97fc66d5007d
Author: David Capello <davidcapello at gmail.com>
Date: Tue Dec 15 17:06:54 2015 -0300
Fix PopupWindow size hint when it doesn't have a title
---
src/ui/popup_window.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ui/popup_window.cpp b/src/ui/popup_window.cpp
index 22c71c3..f993e64 100644
--- a/src/ui/popup_window.cpp
+++ b/src/ui/popup_window.cpp
@@ -22,7 +22,7 @@ using namespace gfx;
PopupWindow::PopupWindow(const std::string& text,
ClickBehavior clickBehavior,
EnterBehavior enterBehavior)
- : Window(WithTitleBar, text)
+ : Window(text.empty() ? WithoutTitleBar: WithTitleBar, text)
, m_clickBehavior(clickBehavior)
, m_enterBehavior(enterBehavior)
, m_filtering(false)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list