update sidebar when item finishes loading
This commit is contained in:
parent
77333cb302
commit
00c974d48a
1 changed files with 2 additions and 4 deletions
|
@ -231,8 +231,9 @@ namespace Buypeeb {
|
||||||
this.items.EmitRowChanged(pathAndIter.path, pathAndIter.iter);
|
this.items.EmitRowChanged(pathAndIter.path, pathAndIter.iter);
|
||||||
}
|
}
|
||||||
if (item == this.selectedItem) {
|
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.selectionViewBox.Sensitive = true;
|
||||||
|
this.UpdateSelectionView();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -533,9 +534,6 @@ namespace Buypeeb {
|
||||||
|
|
||||||
private void ButtonExportClicked(object sender, EventArgs a) {
|
private void ButtonExportClicked(object sender, EventArgs a) {
|
||||||
var readyQuery = from item in this.settings.watchlist.Values.ToList() where !item.ready select item;
|
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) {
|
if (readyQuery.Count() != 0) {
|
||||||
var md = MsgBox("Please wait for all items to update before exporting a CSV.", ButtonsType.Ok);
|
var md = MsgBox("Please wait for all items to update before exporting a CSV.", ButtonsType.Ok);
|
||||||
|
|
Loading…
Reference in a new issue