Skip to content

Commit

Permalink
Added ASI files to the plugin file dialog (#91)
Browse files Browse the repository at this point in the history
* Added ASI files to the plugin file dialog

* Fixed format selection being reset every frame
  • Loading branch information
Aemony authored Sep 8, 2023
1 parent d477ecf commit 3158056
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/control_panel/cfg_plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,12 +331,11 @@ SK::ControlPanel::PlugIns::Draw (void)

if (ImGui::Button ("Add Plug-In"))
{
fileDialog.SetTitle ("Select a Plug-In DLL");
fileDialog.SetTypeFilters ( { ".dll", ".asi" } );
fileDialog.Open ();
}

fileDialog.SetTitle ("Select a Plug-In DLL");
fileDialog.SetTypeFilters ( { ".dll" } );

fileDialog.Display ();

if (fileDialog.HasSelected ())
Expand Down

0 comments on commit 3158056

Please sign in to comment.