mirror of https://github.com/aseprite/aseprite.git
We cannot bypass onSetText() as ui::Entry requires this
Without this fix, "Run Command" will crash.
This commit is contained in:
parent
f3d36ca4c4
commit
85863cf4ed
|
@ -148,9 +148,6 @@ double Widget::textDouble() const
|
||||||
|
|
||||||
void Widget::setText(const std::string& text)
|
void Widget::setText(const std::string& text)
|
||||||
{
|
{
|
||||||
if (text == this->text())
|
|
||||||
return;
|
|
||||||
|
|
||||||
setTextQuiet(text);
|
setTextQuiet(text);
|
||||||
onSetText();
|
onSetText();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue