Skip to content
Snippets Groups Projects
Commit ec4b2dc7 authored by Dott. Federico Volpini's avatar Dott. Federico Volpini
Browse files

fixed dialog bugs

parent a327ab7a
No related branches found
No related tags found
No related merge requests found
......@@ -165,16 +165,17 @@ public class StartPage extends PageImpl {
overwrite = MessageDialog.openConfirm(parent.getShell(),
"File exists!", "The file "+destination.getAbsolutePath()+" already exists.\n\n" +
"Would you like to overwrite it ?");
}
if(overwrite){
name.setText(destination.getAbsolutePath());
if(destination.isAbsolute() && parts.size() > 0){
setPageComplete(true);
if(!overwrite){
this.widgetSelected(e);
}
} else {
this.widgetSelected(e);
}
name.setText(destination.getAbsolutePath());
if(destination.isAbsolute() && parts.size() > 0){
setPageComplete(true);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment