Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
ebfcd35a
Commit
ebfcd35a
authored
Apr 22, 2009
by
mae
Browse files
Workaround backspace issue for now
parent
f48f23c8
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.cpp
View file @
ebfcd35a
...
...
@@ -1034,6 +1034,9 @@ bool BaseTextEditor::event(QEvent *e)
d
->
m_contentsChanged
=
false
;
switch
(
e
->
type
())
{
case
QEvent
::
ShortcutOverride
:
if
(
static_cast
<
QKeyEvent
*>
(
e
)
->
key
()
==
Qt
::
Key_Backspace
)
e
->
accept
();
else
e
->
ignore
();
// we are a really nice citizen
return
true
;
default:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment