mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Don't change two times the status bar text when the selected tool changes
This commit is contained in:
parent
fc0cebc0dd
commit
93c616cd7b
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user