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:
parent
521c84d7bd
commit
b08d8585ab
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue