1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

Faulty login when checking the BuildConsole preferences.

This commit is contained in:
Alain Magloire 2003-09-04 19:07:07 +00:00
parent 521c84d7bd
commit b08d8585ab

View file

@ -118,8 +118,7 @@ public class BuildConsoleManager implements IBuildConsoleManager, IResourceChang
public void flush() throws IOException {
Display.getDefault().syncExec(new Runnable() {
public void run() {
if (BuildConsolePreferencePage.isConsoleOnTop())
bringConsoleOnTop();
bringConsoleOnTop();
try {
int len = fDocument.getLength();
fDocument.replace(len, 0, readBuffer());
@ -145,7 +144,8 @@ public class BuildConsoleManager implements IBuildConsoleManager, IResourceChang
//restore focus
page.activate(activePart);
}
} else {
}
if (cBuild != null && BuildConsolePreferencePage.isConsoleOnTop()) {
page.bringToTop(cBuild);
}
} catch (PartInitException pie) {