Passing a string to LIBRARY_TABLE's c'tor doesn't do what you think it does.

This commit is contained in:
Jeff Young
2026-01-20 13:18:46 +00:00
parent 65385b3838
commit a8fcc466cd
+2 -2
View File
@@ -189,8 +189,8 @@ protected:
void openTable( const LIBRARY_TABLE_ROW& aRow ) override
{
wxString uri = LIBRARY_MANAGER::ExpandURI( aRow.URI(), Pgm().GetSettingsManager().Prj() );
auto nestedTable = std::make_unique<LIBRARY_TABLE>( uri, LIBRARY_TABLE_SCOPE::GLOBAL );
wxFileName file( LIBRARY_MANAGER::ExpandURI( aRow.URI(), Pgm().GetSettingsManager().Prj() ) );
auto nestedTable = std::make_unique<LIBRARY_TABLE>( file, LIBRARY_TABLE_SCOPE::GLOBAL );
m_panel->OpenTable( nestedTable.get(), aRow.Nickname() );
}