Skip to content

Commit

Permalink
:)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercury13 committed Dec 15, 2024
1 parent 53f6d81 commit ee4df19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Unicodia/FmMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ void VirtualCharsModel::paintItem(
if (option.state.testFlag(QStyle::State_HasFocus)) {
QStyleOptionViewItem vi = option;
// Workaround: draw selected item from Windows’ skin
// (Vista’s skin explicitly bans it from table)
// 1. Set style
vi.state = QStyle::State_Selected | QStyle::State_MouseOver
| QStyle::State_Active | QStyle::State_Enabled | QStyle::State_Item
Expand Down

0 comments on commit ee4df19

Please sign in to comment.