Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
4ef64b8d
Commit
4ef64b8d
authored
Nov 20, 2009
by
dt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix No Buils Steps label hiding/showing, remove button en/disable
parent
756a6785
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/plugins/projectexplorer/buildstepspage.cpp
src/plugins/projectexplorer/buildstepspage.cpp
+3
-0
No files found.
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
Markdown
is supported
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