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
Toggle navigation
Open sidebar
Utilities
Kate
Commits
0d75b07f
Commit
0d75b07f
authored
Sep 12, 2020
by
Alexander Lohnau
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cancel button being focused
parent
d96f5614
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
kate/katesavemodifieddialog.cpp
kate/katesavemodifieddialog.cpp
+1
-1
No files found.
kate/katesavemodifieddialog.cpp
View file @
0d75b07f
...
...
@@ -182,9 +182,9 @@ KateSaveModifiedDialog::KateSaveModifiedDialog(QWidget *parent, const QList<KTex
QPushButton
*
cancelButton
=
new
QPushButton
;
KGuiItem
::
assign
(
cancelButton
,
KStandardGuiItem
::
cancel
());
cancelButton
->
setDefault
(
true
);
cancelButton
->
setFocus
();
buttons
->
addButton
(
cancelButton
,
QDialogButtonBox
::
RejectRole
);
connect
(
cancelButton
,
&
QPushButton
::
clicked
,
this
,
&
KateSaveModifiedDialog
::
reject
);
cancelButton
->
setFocus
();
}
KateSaveModifiedDialog
::~
KateSaveModifiedDialog
()
...
...
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