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
edcfe082
Commit
edcfe082
authored
Mar 18, 2011
by
Thomas Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QmlDesigner.propertyEditor: bugfix for invalid ids
parent
49d0c90f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
.../qmldesigner/components/propertyeditor/propertyeditor.cpp
+1
-0
No files found.
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
View file @
edcfe082
...
...
@@ -373,6 +373,7 @@ void PropertyEditor::changeValue(const QString &propertyName)
try
{
m_selectedNode
.
setId
(
newId
);
}
catch
(
InvalidIdException
&
e
)
{
//better save then sorry
value
->
setValue
(
m_selectedNode
.
id
());
QMessageBox
::
warning
(
0
,
tr
(
"Invalid Id"
),
e
.
description
());
}
}
else
{
//there is already an id, so we refactor
...
...
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