mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
[CA-114492] Only do SetUp if the user was actually dragging a button (not for every click on the button)
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
This commit is contained in:
parent
9f39bdfb23
commit
baccb87d00
@ -401,9 +401,13 @@ namespace XenAdmin.Controls.XenSearch
|
||||
|
||||
void button_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
bool wasDragging = dragging;
|
||||
|
||||
draggedButton = null;
|
||||
dragging = false;
|
||||
Setup();
|
||||
|
||||
if(wasDragging)
|
||||
Setup();
|
||||
}
|
||||
|
||||
void button_MouseDown(object sender, MouseEventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user