Skip to content

Commit

Permalink
undo last change, old version feels more user friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
BanceDev authored Aug 16, 2024
1 parent 4bdbfc7 commit 02fcb08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ void DrawNewProjectPopup() {
}
}

static ImGui::FileBrowser pakImportBrowser(ImGuiFileBrowserFlags_MultipleSelection);
static ImGui::FileBrowser pakImportBrowser;
pakImportBrowser.SetTitle("Import PAK");
pakImportBrowser.SetTypeFilters({".pak", ".PAK"});
if (projectType == 2) { // Import PAK Type
Expand All @@ -1567,7 +1567,7 @@ void DrawNewProjectPopup() {

pakImportBrowser.Display();
if (pakImportBrowser.HasSelected()) {
paks = pakImportBrowser.GetMultiSelected();
paks.push_back(pakImportBrowser.GetSelected());
pakImportBrowser.ClearSelected();
}
ImGui::Dummy(ImVec2(1, 20));
Expand Down

0 comments on commit 02fcb08

Please sign in to comment.