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:
parent
4d51a02662
commit
017af57db2
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue