Skip to content

Commit 20acfc0

Browse files
committed
remove outline of items in list widget when they have focus
1 parent 11ca7fa commit 20acfc0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/app/qgisappstylesheet.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant>& opts )
162162
if ( sidebar )
163163
{
164164
QString style = "QListWidget#mOptionsListWidget {"
165-
"background-color: rgb(69, 69, 69, 220);"
165+
" background-color: rgb(69, 69, 69, 220);"
166+
" outline: 0;"
166167
"}"
167168
"QListWidget#mOptionsListWidget::item {"
168169
" color: white;"
@@ -171,7 +172,7 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant>& opts )
171172
"QListWidget#mOptionsListWidget::item::selected {"
172173
" color: black;"
173174
" background-color:palette(Window);"
174-
" padding-right: 0px; "
175+
" padding-right: 0px;"
175176
"}";
176177
ss += style;
177178
}
@@ -190,7 +191,7 @@ void QgisAppStyleSheet::buildStyleSheet( const QMap<QString, QVariant>& opts )
190191
ss += QString( "QTableView {"
191192
"selection-background-color: %1;"
192193
"selection-color: %2;"
193-
"}")
194+
"}" )
194195
.arg( palette.highlight().color().name() )
195196
.arg( palette.highlightedText().color().name() );
196197

0 commit comments

Comments
 (0)