Skip to content

Commit

Permalink
MultiVariablePageTest fails on all platforms
Browse files Browse the repository at this point in the history
Fixes #1736
  • Loading branch information
deepika-u authored and fedejeanne committed May 10, 2024
1 parent 033234f commit 29831f8
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -334,13 +334,13 @@ public void createPartControl(Composite parent) {
// done
if (getActivePage() == -1) {
setActivePage(0);
IEditorPart part = getEditor(0);
if (part != null) {
final IServiceLocator serviceLocator = part.getEditorSite();
if (serviceLocator instanceof INestable) {
activeServiceLocator = (INestable) serviceLocator;
activeServiceLocator.activate();
}
}
IEditorPart part = getEditor(getActivePage());
if (part != null) {
final IServiceLocator serviceLocator = part.getEditorSite();
if (serviceLocator instanceof INestable) {
activeServiceLocator = (INestable) serviceLocator;
activeServiceLocator.activate();
}
}
initializePageSwitching();
Expand Down

0 comments on commit 29831f8

Please sign in to comment.