Correctly open every code document

pull/223/head
James Ball 2024-03-01 14:07:16 +00:00 zatwierdzone przez James H Ball
rodzic cc03b32af8
commit 7b292c1c89
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -21,11 +21,11 @@ MainComponent::MainComponent(OscirenderAudioProcessor& p, OscirenderAudioProcess
if (url.isLocalFile()) {
auto file = url.getLocalFile();
audioProcessor.addFile(file);
pluginEditor.addCodeEditor(audioProcessor.getCurrentFileIndex());
fileAdded = true;
}
}
if (fileAdded) {
pluginEditor.addCodeEditor(audioProcessor.getCurrentFileIndex());
pluginEditor.fileUpdated(audioProcessor.getCurrentFileName());
}
});