1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Bug 2083 - Labels Editor has confusing selection interface - can cause wrong labels to be deleted

This commit is contained in:
Leland Lucius
2021-01-25 01:13:02 -06:00
parent a03a6abb4b
commit 0fcf9ffb52

View File

@@ -499,6 +499,10 @@ Grid::Grid(wxWindow *parent,
RegisterDataType(GRID_VALUE_CHOICE, RegisterDataType(GRID_VALUE_CHOICE,
safenew wxGridCellStringRenderer, safenew wxGridCellStringRenderer,
safenew ChoiceEditor); safenew ChoiceEditor);
SetSelectionForeground(GetDefaultCellTextColour());
SetSelectionBackground(GetDefaultCellBackgroundColour());
} }
Grid::~Grid() Grid::~Grid()