Fixes issue with ACE displaying only banks (#1427)

Updates to some AzCore functions a while ago made some path functions
strip off a trailing slash, which caused bad paths to be used when
loading middleware data.  Updated the code to use better path APIs.
This commit is contained in:
Eric Phister
2021-06-21 11:18:03 -05:00
committed by GitHub
parent 530573abf3
commit 22ff37ecda
5 changed files with 14 additions and 13 deletions
@@ -218,7 +218,7 @@ namespace AudioControls
IAudioSystemEditor* pAudioSystemImpl = CAudioControlsEditorPlugin::GetAudioSystemEditorImpl();
if (pAudioSystemImpl)
{
StartWatchingFolder(pAudioSystemImpl->GetDataPath());
StartWatchingFolder(pAudioSystemImpl->GetDataPath().LexicallyNormal().Native());
m_pMiddlewareDockWidget->setWindowTitle(QString(pAudioSystemImpl->GetName().c_str()) + " Controls");
}
}