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
Multimedia
Kdenlive
Commits
0a93ade4
Commit
0a93ade4
authored
Jul 24, 2020
by
Jean-Baptiste Mardelle
Browse files
Disable layout buttons focus so they don't keep a highlighted border
parent
4ce528bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/layoutmanagement.cpp
View file @
0a93ade4
...
...
@@ -146,6 +146,7 @@ void LayoutManagement::initializeLayouts()
load
->
setText
(
i18n
(
"Layout %1: %2"
,
i
,
layoutName
));
if
(
i
<
6
)
{
QPushButton
*
lab
=
new
QPushButton
(
i18n
(
layoutName
.
toUtf8
().
constData
()),
m_container
);
lab
->
setFocusPolicy
(
Qt
::
NoFocus
);
lab
->
setCheckable
(
true
);
lab
->
setFlat
(
true
);
lab
->
setFont
(
main
->
menuBar
()
->
font
());
...
...
Eugen Mohr
@emohr
mentioned in issue
#407 (closed)
·
Jul 27, 2020
mentioned in issue
#407 (closed)
mentioned in issue #407
Toggle commit list
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