mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
CA-147657: Allow setting the ToolTipText for the command ToolStripButtons and ToolStripMenuSubitems
to null, otherwise the wrond text is shown for items with null can't-execute-reason that are selected after items with non-null can't execute reason. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
d32b7a967b
commit
1bbec00d57
@ -112,10 +112,8 @@ namespace XenAdmin.Commands
|
|||||||
Image = _command.ToolBarImage;
|
Image = _command.ToolBarImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_command.ToolTipText != null)
|
//null is allowed (CA-147657)
|
||||||
{
|
ToolTipText = _command.ToolTipText;
|
||||||
ToolTipText = _command.ToolTipText;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,10 +75,8 @@ namespace XenAdmin.Commands
|
|||||||
SecondImage = _command.SecondImage;
|
SecondImage = _command.SecondImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_command.ToolTipText != null)
|
//null is allowed (CA-147657)
|
||||||
{
|
ToolTipText = _command.ToolTipText;
|
||||||
ToolTipText = _command.ToolTipText;
|
|
||||||
}
|
|
||||||
|
|
||||||
StarRating = _command.StarRating;
|
StarRating = _command.StarRating;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user