mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed a bug where the DEL key wasn't triggering a "TextChanged" event in
TextInput.
This commit is contained in:
parent
090ae0ea63
commit
1d4544d399
@ -226,6 +226,7 @@ bool TextInput::KeyPress(const std::string& key) {
|
||||
removeUtf8Char(this->buffer, this->position + 1);
|
||||
this->bufferLength = u8len(buffer);
|
||||
this->Redraw();
|
||||
this->TextChanged(this, this->buffer);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user