diff --git a/src/client/spark/view/Shell/WindowManager.cs b/src/client/spark/view/Shell/WindowManager.cs index 6469327bc..1689430e6 100644 --- a/src/client/spark/view/Shell/WindowManager.cs +++ b/src/client/spark/view/Shell/WindowManager.cs @@ -55,7 +55,7 @@ namespace mbts.ui.shell { public async Task create_window(TabDocument document, WindowPosition position = null) { var key = document.ViewModel.host_id; if (_windows.TryGetValue(key, out var window)) { - await window.add_document(document, position?.tab_index, position is not null); + await window.add_document(document, position?.tab_index, position is null); return window; }