mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +02:00
ExtImport: Moved PluginList initialization before RuleTable initialization
This commit is contained in:
parent
1d83aeeb12
commit
b2b82d4ea0
@ -129,6 +129,11 @@ void ExtImportPrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
|
|
||||||
if (fillRuleTable)
|
if (fillRuleTable)
|
||||||
{
|
{
|
||||||
|
PluginList->SetSingleStyle (wxLC_REPORT, true);
|
||||||
|
PluginList->SetSingleStyle (wxLC_SINGLE_SEL, true);
|
||||||
|
PluginList->InsertColumn (0, _("Importer order"));
|
||||||
|
PluginList->SetDropTarget (dragtarget2);
|
||||||
|
|
||||||
ExtImportItems *items = wxGetApp().mImporter->GetImportItems();
|
ExtImportItems *items = wxGetApp().mImporter->GetImportItems();
|
||||||
for (unsigned int i = 0; i < items->Count(); i++)
|
for (unsigned int i = 0; i < items->Count(); i++)
|
||||||
AddItemToTable (i, &(*items)[i]);
|
AddItemToTable (i, &(*items)[i]);
|
||||||
@ -137,11 +142,6 @@ void ExtImportPrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
RuleTable->SelectRow(0);
|
RuleTable->SelectRow(0);
|
||||||
RuleTable->SetGridCursor(0,0);
|
RuleTable->SetGridCursor(0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginList->SetSingleStyle (wxLC_REPORT, true);
|
|
||||||
PluginList->SetSingleStyle (wxLC_SINGLE_SEL, true);
|
|
||||||
PluginList->InsertColumn (0, _("Importer order"));
|
|
||||||
PluginList->SetDropTarget (dragtarget2);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
S.EndHorizontalLay();
|
S.EndHorizontalLay();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user