Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KDebugSettings
Commits
63eb0168
Commit
63eb0168
authored
Jan 12, 2021
by
Laurent Montel
Browse files
Fix i18n
parent
aff738d1
Pipeline
#47430
passed with stage
in 10 minutes and 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/kdebugsettingsdialog.cpp
View file @
63eb0168
...
...
@@ -207,7 +207,7 @@ void KDebugSettingsDialog::slotSaveAsGroup()
const
QString
trimmedName
=
name
.
trimmed
();
if
(
!
trimmedName
.
isEmpty
())
{
if
(
mLoadToolButton
->
groupNames
().
contains
(
trimmedName
))
{
KMessageBox
::
error
(
this
,
i18n
(
"%1 is already used as a group name."
,
trimmedName
));
KMessageBox
::
error
(
this
,
i18n
(
"%1 is already used as a group
name.
\n
Please save as another
name."
,
trimmedName
));
}
else
{
saveRules
(
groupPath
+
QLatin1Char
(
'/'
)
+
trimmedName
,
true
);
Q_EMIT
updateLoadGroupMenu
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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