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
52007315
Commit
52007315
authored
Feb 25, 2011
by
Tobias Hunger
Browse files
ToolChainOptions: Clear new name afer applying it
parent
70dd0be4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/toolchainoptionspage.cpp
View file @
52007315
...
...
@@ -292,8 +292,10 @@ void ToolChainModel::apply()
Q_ASSERT
(
n
);
if
(
n
->
changed
)
{
Q_ASSERT
(
n
->
toolChain
);
if
(
!
n
->
newName
.
isEmpty
())
if
(
!
n
->
newName
.
isEmpty
())
{
n
->
toolChain
->
setDisplayName
(
n
->
newName
);
n
->
newName
.
clear
();
}
if
(
n
->
widget
)
n
->
widget
->
apply
();
n
->
changed
=
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