diff --git a/src/control_panel/cfg_plugins.cpp b/src/control_panel/cfg_plugins.cpp index aca9d9e19..67ed75162 100644 --- a/src/control_panel/cfg_plugins.cpp +++ b/src/control_panel/cfg_plugins.cpp @@ -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 ())