mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add using when creating a file/folder dialog
This commit is contained in:
parent
6604710a3f
commit
1bdfc3009d
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
Btn.Click += (_, _) =>
|
||||
{
|
||||
CommonDialog dialog = type switch
|
||||
using CommonDialog dialog = type switch
|
||||
{
|
||||
"inputWithFolderBtn" => new FolderBrowserDialog(),
|
||||
_ => new OpenFileDialog(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue