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
Tobias Hunger
qt-creator
Commits
219332fd
Commit
219332fd
authored
Dec 06, 2010
by
Thomas Hartmann
Browse files
QmlDesigner: crashfix
The model() might be deleted already!
parent
4f70fc58
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/propertyeditortransaction.cpp
View file @
219332fd
...
...
@@ -11,6 +11,8 @@ PropertyEditorTransaction::PropertyEditorTransaction(QmlDesigner::PropertyEditor
void
PropertyEditorTransaction
::
start
()
{
if
(
!
m_propertyEditor
->
model
())
return
;
if
(
m_rewriterTransaction
.
isValid
())
m_rewriterTransaction
.
commit
();
m_rewriterTransaction
=
m_propertyEditor
->
beginRewriterTransaction
();
...
...
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