diff options
Diffstat (limited to 'gui/EditTextWidget.cpp')
-rw-r--r-- | gui/EditTextWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/EditTextWidget.cpp b/gui/EditTextWidget.cpp index 0c65b604d8..b10b44ce4d 100644 --- a/gui/EditTextWidget.cpp +++ b/gui/EditTextWidget.cpp @@ -87,7 +87,7 @@ bool EditTextWidget::handleKeyDown(char key, int modifiers) case 23: // end break; default: - if (isalnum(key) || key == ' ') { + if (isalnum(key) || key == ' ' || key == '-' || key == '_') { _label += key; dirty = true; } else { |