1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

fixed target building when run with proress dialog

This commit is contained in:
David Inglis 2004-06-03 15:48:30 +00:00
parent 4d51a02662
commit 017af57db2

View file

@ -98,10 +98,9 @@ public class TargetBuild {
return Status.OK_STATUS;
}
};
targetJob.schedule();
if (MakeTargetsPreferencePage.isBuildTargetInBackground()) {
targetJob.schedule();
} else {
if (!MakeTargetsPreferencePage.isBuildTargetInBackground()) {
runWithProgressDialog(shell, targetJob);
}
}