[aseprite] 61/128: Don't change two times the status bar text when the selected tool changes
Tobias Hansen
thansen at moszumanska.debian.org
Mon May 9 21:24:23 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 93c616cd7b86ee61df4588870fd399836bf24810
Author: David Capello <davidcapello at gmail.com>
Date: Mon Apr 25 15:29:06 2016 -0300
Don't change two times the status bar text when the selected tool changes
---
src/app/ui/status_bar.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/app/ui/status_bar.cpp b/src/app/ui/status_bar.cpp
index 5131ad1..f6078e4 100644
--- a/src/app/ui/status_bar.cpp
+++ b/src/app/ui/status_bar.cpp
@@ -547,10 +547,8 @@ StatusBar::~StatusBar()
void StatusBar::onSelectedToolChange(tools::Tool* tool)
{
- if (isVisible() && tool) {
+ if (isVisible() && tool)
showTool(500, tool);
- setTextf("%s Selected", tool->getText().c_str());
- }
}
void StatusBar::clearText()
--
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