From 00c974d48a7c875303fd1d06251423f2f6087974 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 5 Sep 2020 17:37:41 +1000 Subject: [PATCH] update sidebar when item finishes loading --- MainWindow.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/MainWindow.cs b/MainWindow.cs index f6bdae7..c6b2398 100755 --- a/MainWindow.cs +++ b/MainWindow.cs @@ -231,8 +231,9 @@ namespace Buypeeb { this.items.EmitRowChanged(pathAndIter.path, pathAndIter.iter); } if (item == this.selectedItem) { - // if the user has this item selected and it just became ready, enable the selection box + // if the user has this item selected and it just became ready, enable the selection box and redraw the info this.selectionViewBox.Sensitive = true; + this.UpdateSelectionView(); } }); @@ -533,9 +534,6 @@ namespace Buypeeb { private void ButtonExportClicked(object sender, EventArgs a) { var readyQuery = from item in this.settings.watchlist.Values.ToList() where !item.ready select item; - foreach (var item in readyQuery) { - Console.WriteLine(item.name); - } if (readyQuery.Count() != 0) { var md = MsgBox("Please wait for all items to update before exporting a CSV.", ButtonsType.Ok);