ggwave-gui : add focus argument to addFile

This commit is contained in:
Georgi Gerganov
2020-12-31 14:10:17 +02:00
parent 9790a51f17
commit 270a8c70e9
4 changed files with 16 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ bool ImGui_BeginFrame(SDL_Window * window) {
if (uri.find("/") || uri.find("\\")) {
filename = uri.substr(uri.find_last_of("/\\") + 1);
}
addFile(uri.c_str(), filename.c_str(), std::move(data));
addFile(uri.c_str(), filename.c_str(), std::move(data), true);
break;
}
}