1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Autosize columns for empty table too

This commit is contained in:
LRN1986 2010-04-04 21:43:38 +00:00
parent 90ab79edd6
commit d2c0a72597

View File

@ -76,6 +76,8 @@ void ExtImportPrefs::Populate()
#endif
RuleTable->SetRowLabelSize (0);
RuleTable->SetSelectionMode (wxGrid::wxGridSelectRows);
RuleTable->AutoSizeColumns ();
ExtImportItems *items = wxGetApp().mImporter->GetImportItems();
for (unsigned int i = 0; i < items->Count(); i++)