Skip to content

Commit 6e43962

Browse files
committed
Fix foreground color in some widgets
- Bump to 0.0.41
1 parent a9224fe commit 6e43962

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

pyqt_code_editor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
from ._settings import settings
44

5-
__version__ = '0.0.40'
5+
__version__ = '0.0.41'

pyqt_code_editor/widgets/completion_popup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def __init__(self, editor):
2424
outline: none;
2525
}}
2626
QListWidget::item:selected {{
27+
color: {editor.code_editor_colors['text']};
2728
background-color: {editor.code_editor_colors['highlight']};
2829
}}''')
2930
# Use a frameless tool window so it can float above the editor

pyqt_code_editor/widgets/quick_open_dialog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def filterAcceptsRow(self, source_row, source_parent):
6363
padding: 4px;
6464
}}
6565
QListView::item:selected {{
66+
color: {foreground};
6667
background-color: {selection_background};
6768
}}
6869
'''

0 commit comments

Comments
 (0)