From 1cbea3d1eedf274de426d2841f0bb1eadcbbeb87 Mon Sep 17 00:00:00 2001 From: Eric Harding Date: Mon, 23 Jul 2018 15:47:05 -0400 Subject: [PATCH] SPARK-1467 Favorites misbehaving --- src/client/spark/view/Shell/FloatingWindow.xaml.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/spark/view/Shell/FloatingWindow.xaml.cs b/src/client/spark/view/Shell/FloatingWindow.xaml.cs index f0e74733f..af4f7be92 100644 --- a/src/client/spark/view/Shell/FloatingWindow.xaml.cs +++ b/src/client/spark/view/Shell/FloatingWindow.xaml.cs @@ -93,7 +93,9 @@ namespace mbts.ui.shell _recently_closed_windows.Push(() => { undoaction(); }); } } - _bookmark.save_bookmark(document.Model); + if (document.HasCustomTitle) { + _bookmark.save_bookmark(document.Model); + } } public void remove_document(TabDocument document) {