Commit 0a93ade4 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Disable layout buttons focus so they don't keep a highlighted border

parent 4ce528bc
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment