the BS button now behaves like the real BackSpace. Fixes bug #1617.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23786 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2ac009f9d6
commit
acb25a9724
|
@ -143,8 +143,8 @@ ExpressionTextView::SetExpression(const char* expression)
|
||||||
void
|
void
|
||||||
ExpressionTextView::BackSpace()
|
ExpressionTextView::BackSpace()
|
||||||
{
|
{
|
||||||
if (Window())
|
const char bytes[1] = { B_BACKSPACE };
|
||||||
Window()->PostMessage(B_UNDO, this);
|
KeyDown(bytes, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue