From 0644bf6adece18a2b3406179eae120965fdb75db Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sat, 28 Dec 2019 22:24:24 -0500 Subject: [PATCH] Fixed pi selected highlight (again) --- mainwindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 87d650b..c33a981 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -12048,7 +12048,7 @@ void MainWindow::displayBandActivity() { // Set table color auto style = QString("QTableWidget { background:%1; selection-background-color:%2; alternate-background-color:%1; color:%3; } " - /*"QTableWidget::item:selected { background-color: palette(highlight); color: palette(highlightedText); }"*/); + "QTableWidget::item:selected { background-color: %2; color: %3; }"); style = style.arg(m_config.color_table_background().name()); style = style.arg(m_config.color_table_highlight().name()); style = style.arg(m_config.color_table_foreground().name()); @@ -12390,8 +12390,7 @@ void MainWindow::displayCallActivity() { // Set table color auto style = QString("QTableWidget { background:%1; selection-background-color:%2; alternate-background-color:%1; color:%3; } " - /*"QTableWidget::item:selected { background-color: palette(highlight); color: palette(highlightedText); }"*/ - ); + "QTableWidget::item:selected { background-color: %2; color: %3; }"); style = style.arg(m_config.color_table_background().name()); style = style.arg(m_config.color_table_highlight().name()); style = style.arg(m_config.color_table_foreground().name());