Fixed QDialog::recursive call detected