Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
ebfcd35a
Commit
ebfcd35a
authored
Apr 22, 2009
by
mae
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround backspace issue for now
parent
f48f23c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/plugins/texteditor/basetexteditor.cpp
src/plugins/texteditor/basetexteditor.cpp
+4
-1
No files found.
src/plugins/texteditor/basetexteditor.cpp
View file @
ebfcd35a
...
...
@@ -1034,7 +1034,10 @@ bool BaseTextEditor::event(QEvent *e)
d
->
m_contentsChanged
=
false
;
switch
(
e
->
type
())
{
case
QEvent
::
ShortcutOverride
:
e
->
ignore
();
// we are a really nice citizen
if
(
static_cast
<
QKeyEvent
*>
(
e
)
->
key
()
==
Qt
::
Key_Backspace
)
e
->
accept
();
else
e
->
ignore
();
// we are a really nice citizen
return
true
;
default:
break
;
...
...
Write
Preview
Markdown
is supported
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