mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug # 201973 : Project conversion failed box when opening cdt3 project with cdt4
This commit is contained in:
parent
39180b7960
commit
e069b7e8b4
1 changed files with 5 additions and 1 deletions
|
@ -260,9 +260,13 @@ public class ProjectConverter implements ICProjectConverter {
|
|||
final boolean [] answer = new boolean[1];
|
||||
shell.getDisplay().syncExec(new Runnable() {
|
||||
public void run() {
|
||||
if(multiple || PROPS.getProperty(rc, id) == null){
|
||||
Object ob = PROPS.getProperty(rc, id);
|
||||
if(multiple || ob == null){
|
||||
PROPS.setProperty(rc, id, Boolean.TRUE);
|
||||
answer[0] = MessageDialog.openQuestion(shell,title,message);
|
||||
PROPS.setProperty(rc, id, answer[0] ? Boolean.TRUE : Boolean.FALSE);
|
||||
} else {
|
||||
answer[0] = ((Boolean)ob).booleanValue();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue