mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
65b4ef1f37
The problem was that the License Manager was listening to PropertyChanged events on the master only, not on slaves. When the master's properties change (e.g. edition) we update the row in the license manager; but in some cases a slave (or more) hasn't been updated yet (as it may be updated in another event.from) and we think that the pool is partially updated. Our solution is to listen to Host BatchCollectionChanged event, which is triggered once per cache update for the host collection (it any property changed for any of the hosts). The sleep in the ApplyLicenseEditionAction is not needed anymore, nor is the extra call to update the cell after the action is completed, because the cell is getting updated correctly on the BatchCollectionChanged event. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com> |
||
---|---|---|
.. | ||
CheckableDataGridView.cs | ||
CheckableDataGridViewController.cs | ||
CheckableDataGridViewRow.cs | ||
ICheckableDataGridViewView.cs |