mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed ALT+BACKSPACE on non-Windows builds.
This commit is contained in:
parent
01a41531c6
commit
8e49e4ed7c
@ -75,7 +75,7 @@ void TextInput::Show() {
|
||||
}
|
||||
|
||||
bool TextInput::Write(const std::string& key) {
|
||||
if (key == "M-bksp") {
|
||||
if (key == "M-^H" || key == "M-^?" || key == "M-bksp") {
|
||||
this->buffer = "";
|
||||
redrawContents(*this, "");
|
||||
this->TextChanged(this, "");
|
||||
@ -111,4 +111,4 @@ void TextInput::SetText(const std::string& value) {
|
||||
this->TextChanged(this, this->buffer);
|
||||
redrawContents(*this, buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user