mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +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>
|
/// </summary>
|
||||||
protected void OptRecRetrieveAction_Completed(ActionBase sender)
|
protected void OptRecRetrieveAction_Completed(ActionBase sender)
|
||||||
{
|
{
|
||||||
if (!(sender is WlbRetrieveRecommendationsAction asyncAction) || !action.IsCompleted)
|
if (!(sender is WlbRetrieveRecommendationsAction asyncAction))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
asyncAction.Completed -= OptRecRetrieveAction_Completed;
|
asyncAction.Completed -= OptRecRetrieveAction_Completed;
|
||||||
|
@ -208,7 +208,7 @@ namespace XenAdmin.Dialogs
|
|||||||
|
|
||||||
private void getDataSourcesAction_Completed(ActionBase sender)
|
private void getDataSourcesAction_Completed(ActionBase sender)
|
||||||
{
|
{
|
||||||
if (!(sender is GetDataSourcesAction action) || !action.Succeeded)
|
if (!(sender is GetDataSourcesAction action))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Program.Invoke(this, () =>
|
Program.Invoke(this, () =>
|
||||||
|
@ -416,7 +416,7 @@ namespace XenAdmin.TabPages
|
|||||||
|
|
||||||
private void SaveGraphs(ActionBase sender)
|
private void SaveGraphs(ActionBase sender)
|
||||||
{
|
{
|
||||||
if (!(sender is GetDataSourcesAction action) || !action.Succeeded)
|
if (!(sender is GetDataSourcesAction action))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Program.Invoke(Program.MainWindow, () =>
|
Program.Invoke(Program.MainWindow, () =>
|
||||||
|
Loading…
Reference in New Issue
Block a user