ui->editSource object doesn't exist, thats why it crash