mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Bug 507752 - [debugger console] Check if view is opened in perspective
The Debugger console view should remain visible when switching perspectives Change-Id: I22bcfefca980324c9e2918d91217ef83ade056b8
This commit is contained in:
parent
cce9a941af
commit
899284e8da
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public class DebuggerConsoleManager implements IDebuggerConsoleManager {
|
|||
IWorkbenchPage page = window.getActivePage();
|
||||
if (page != null) {
|
||||
IViewPart view = page.findView(DebuggerConsoleView.DEBUGGER_CONSOLE_VIEW_ID);
|
||||
if (view == null) {
|
||||
if (view == null || !page.isPartVisible(view)) {
|
||||
try {
|
||||
page.showView(DebuggerConsoleView.DEBUGGER_CONSOLE_VIEW_ID,
|
||||
null,
|
||||
|
|
Loading…
Add table
Reference in a new issue