Fixed #296: selection color overrides
This commit is contained in:
parent
4747b7aa2d
commit
39ce9043a9
@ -12054,6 +12054,8 @@ void MainWindow::displayBandActivity() {
|
|||||||
|
|
||||||
// Set the table palette for inactive selected row
|
// Set the table palette for inactive selected row
|
||||||
auto p = ui->tableWidgetRXAll->palette();
|
auto p = ui->tableWidgetRXAll->palette();
|
||||||
|
p.setColor(QPalette::Highlight, m_config.color_table_highlight());
|
||||||
|
p.setColor(QPalette::HighlightedText, m_config.color_table_foreground());
|
||||||
p.setColor(QPalette::Inactive, QPalette::Highlight, p.color(QPalette::Active, QPalette::Highlight));
|
p.setColor(QPalette::Inactive, QPalette::Highlight, p.color(QPalette::Active, QPalette::Highlight));
|
||||||
ui->tableWidgetRXAll->setPalette(p);
|
ui->tableWidgetRXAll->setPalette(p);
|
||||||
|
|
||||||
@ -12391,6 +12393,8 @@ void MainWindow::displayCallActivity() {
|
|||||||
|
|
||||||
// Set the table palette for inactive selected row
|
// Set the table palette for inactive selected row
|
||||||
auto p = ui->tableWidgetCalls->palette();
|
auto p = ui->tableWidgetCalls->palette();
|
||||||
|
p.setColor(QPalette::Highlight, m_config.color_table_highlight());
|
||||||
|
p.setColor(QPalette::HighlightedText, m_config.color_table_foreground());
|
||||||
p.setColor(QPalette::Inactive, QPalette::Highlight, p.color(QPalette::Active, QPalette::Highlight));
|
p.setColor(QPalette::Inactive, QPalette::Highlight, p.color(QPalette::Active, QPalette::Highlight));
|
||||||
ui->tableWidgetCalls->setPalette(p);
|
ui->tableWidgetCalls->setPalette(p);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user