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
4ef64b8d
Commit
4ef64b8d
authored
Nov 20, 2009
by
dt
Browse files
Fix No Buils Steps label hiding/showing, remove button en/disable
parent
756a6785
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/buildstepspage.cpp
View file @
4ef64b8d
...
...
@@ -129,6 +129,7 @@ void BuildStepsPage::init(const QString &buildConfiguration)
}
m_noStepsLabel
->
setVisible
(
steps
.
isEmpty
());
m_removeButton
->
setEnabled
(
!
steps
.
isEmpty
());
// make sure widget is updated
foreach
(
BuildStepsWidgetStruct
s
,
m_buildSteps
)
{
...
...
@@ -322,4 +323,6 @@ void BuildStepsPage::updateBuildStepButtonsState()
s
.
upButton
->
setEnabled
((
i
>
0
)
&&
!
(
steps
.
at
(
i
)
->
immutable
()
&&
steps
.
at
(
i
-
1
)));
s
.
downButton
->
setEnabled
((
i
+
1
<
steps
.
count
())
&&
!
(
steps
.
at
(
i
)
->
immutable
()
&&
steps
.
at
(
i
+
1
)
->
immutable
()));
}
m_noStepsLabel
->
setVisible
(
steps
.
isEmpty
());
m_removeButton
->
setEnabled
(
!
steps
.
isEmpty
());
}
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