update sidebar when item finishes loading

This commit is contained in:
Lynne Megido 2020-09-05 17:37:41 +10:00
parent 77333cb302
commit 00c974d48a
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -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);