mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Always show the filter list to be consistent with the other 2 plats.
(This also fixes an array indexing problem.)
This commit is contained in:
@@ -547,10 +547,9 @@ int FileDialog::ShowModal()
|
|||||||
parentWindow = dynamic_cast<wxNonOwnedWindow*>(wxGetTopLevelParent(GetParent()));
|
parentWindow = dynamic_cast<wxNonOwnedWindow*>(wxGetTopLevelParent(GetParent()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NSArray* types = GetTypesFromFilter( m_wildCard, m_filterNames, m_filterExtensions ) ;
|
NSArray* types = GetTypesFromFilter( m_wildCard, m_filterNames, m_filterExtensions ) ;
|
||||||
|
|
||||||
m_useFileTypeFilter = m_filterExtensions.GetCount() > 1;
|
m_useFileTypeFilter = m_filterExtensions.GetCount() > 0;
|
||||||
|
|
||||||
if( HasFlag(wxFD_OPEN) )
|
if( HasFlag(wxFD_OPEN) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user