Skip to content
GitLab
Menu
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
9c845a2a
Commit
9c845a2a
authored
Jan 07, 2010
by
Erik Verbruggen
Browse files
Fix to allow case where ID is removed from the text file.
parent
693781f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/core/model/modelnode.cpp
View file @
9c845a2a
...
...
@@ -169,7 +169,7 @@ static bool idContainsWrongLetter(const QString& id)
bool
ModelNode
::
isValidId
(
const
QString
&
id
)
{
return
!
(
id
.
isEmpty
()
||
idContainsWrongLetter
(
id
)
)
;
return
id
.
isEmpty
()
||
!
idContainsWrongLetter
(
id
);
}
void
ModelNode
::
setId
(
const
QString
&
id
)
...
...
src/plugins/qmldesigner/core/model/texttomodelmerger.cpp
View file @
9c845a2a
...
...
@@ -114,7 +114,7 @@ bool TextToModelMerger::load(const QByteArray &data, DifferenceHandler &differen
setActive
(
false
);
throw
;
return
false
;
}
}
...
...
Write
Preview
Supports
Markdown
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