Merge pull request #1322 from MihaelaStoica/CA-231500

CA-231500: XenCenter allows you to open multiple windows from change …
This commit is contained in:
Gabor Apati-Nagy 2016-12-02 09:18:31 +00:00 committed by GitHub
commit 83f5e3b78b

View File

@ -1057,8 +1057,8 @@ namespace XenAdmin.TabPages
selectedSubjects.Add(selectedRow.subject); selectedSubjects.Add(selectedRow.subject);
} }
RoleSelectionDialog dialog = new RoleSelectionDialog(selectedSubjects.ToArray(), pool); using (var dialog = new RoleSelectionDialog(selectedSubjects.ToArray(), pool))
dialog.Show(this); dialog.ShowDialog(this);
} }
private void ButtonLogout_Click(object sender, EventArgs e) private void ButtonLogout_Click(object sender, EventArgs e)