Skip to content

Commit 1bdfc30

Browse files
committed
Add using when creating a file/folder dialog
1 parent 6604710 commit 1bdfc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public Control CreateSettingPanel()
253253

254254
Btn.Click += (_, _) =>
255255
{
256-
CommonDialog dialog = type switch
256+
using CommonDialog dialog = type switch
257257
{
258258
"inputWithFolderBtn" => new FolderBrowserDialog(),
259259
_ => new OpenFileDialog(),

0 commit comments

Comments
 (0)