We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb1fa18 commit faa5cd1Copy full SHA for faa5cd1
Flow.Launcher.Infrastructure/QuickSwitch/Models/WindowsDialog.cs
@@ -60,14 +60,18 @@ internal class WindowsDialogWindow : IQuickSwitchDialogWindow
60
{
61
public HWND Handle { get; private set; }
62
63
+ // After jumping folder, file editor handle of Save / SaveAs file dialogs cannot be found anymore
64
+ // So we need to cache the current tab and use the original handle
65
+ private IQuickSwitchDialogWindowTab _currentTab { get; set; } = null;
66
+
67
public WindowsDialogWindow(HWND handle)
68
69
Handle = handle;
70
}
71
72
public IQuickSwitchDialogWindowTab GetCurrentTab()
73
- return new WindowsDialogTab(Handle);
74
+ return _currentTab ??= new WindowsDialogTab(Handle);
75
76
77
public void Dispose()
0 commit comments