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
Marco Bubke
flatpak-qt-creator
Commits
0246e28a
Commit
0246e28a
authored
Feb 16, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: add sanity check
parent
48dee2d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
View file @
0246e28a
...
...
@@ -193,6 +193,9 @@ void PropertyEditor::changeValue(const QString &name)
if
(
name
==
"type"
)
return
;
if
(
!
m_selectedNode
.
isValid
())
return
;
if
(
name
==
"id"
)
{
PropertyEditorValue
*
value
=
qobject_cast
<
PropertyEditorValue
*>
(
QmlMetaType
::
toQObject
(
m_currentType
->
m_backendValuesPropertyMap
.
value
(
name
)));
const
QString
newId
=
value
->
value
().
toString
();
...
...
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