mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +01:00
Revert IsCompleted
checks
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
parent
113a427e6a
commit
f16b0fed35
@ -594,7 +594,7 @@ namespace XenAdmin.Controls.Wlb
|
||||
/// </summary>
|
||||
protected void OptRecRetrieveAction_Completed(ActionBase sender)
|
||||
{
|
||||
if (!(sender is WlbRetrieveRecommendationsAction asyncAction) || !action.IsCompleted)
|
||||
if (!(sender is WlbRetrieveRecommendationsAction asyncAction))
|
||||
return;
|
||||
|
||||
asyncAction.Completed -= OptRecRetrieveAction_Completed;
|
||||
|
@ -208,7 +208,7 @@ namespace XenAdmin.Dialogs
|
||||
|
||||
private void getDataSourcesAction_Completed(ActionBase sender)
|
||||
{
|
||||
if (!(sender is GetDataSourcesAction action) || !action.Succeeded)
|
||||
if (!(sender is GetDataSourcesAction action))
|
||||
return;
|
||||
|
||||
Program.Invoke(this, () =>
|
||||
|
@ -416,7 +416,7 @@ namespace XenAdmin.TabPages
|
||||
|
||||
private void SaveGraphs(ActionBase sender)
|
||||
{
|
||||
if (!(sender is GetDataSourcesAction action) || !action.Succeeded)
|
||||
if (!(sender is GetDataSourcesAction action))
|
||||
return;
|
||||
|
||||
Program.Invoke(Program.MainWindow, () =>
|
||||
|
Loading…
Reference in New Issue
Block a user