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
c6d79d04
Commit
c6d79d04
authored
Mar 12, 2010
by
mae
Browse files
Do not rely on Qt's smartness for flicker avoidance
parent
d61a7f59
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/fancyactionbar.cpp
View file @
c6d79d04
...
...
@@ -269,8 +269,10 @@ void FancyActionBar::modeChanged(Core::IMode *mode)
{
if
(
m_runButton
&&
m_debugButton
)
{
bool
inDebugMode
=
(
mode
->
id
()
==
QLatin1String
(
"Debugger.Mode.Debug"
));
layout
()
->
setEnabled
(
false
);
m_runButton
->
setVisible
(
!
inDebugMode
);
m_debugButton
->
setVisible
(
inDebugMode
);
layout
()
->
setEnabled
(
true
);
}
}
...
...
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