Skip to content

Commit c0ba478

Browse files
Merge pull request #7149 from microsoft/fixes-eap-issues
Fix open reference book in explorer still open default library in reference book
2 parents 789b0f8 + 1f5b3af commit c0ba478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-sdk-reference-book/src/main/java/com/microsoft/azure/toolkit/intellij/azuresdk/referencebook

PluginsAndFeatures/azure-toolkit-for-intellij/azure-sdk-reference-book/src/main/java/com/microsoft/azure/toolkit/intellij/azuresdk/referencebook/AzureSdkTreePanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public synchronized void refresh(boolean... force) {
146146
this.services = AzureSdkLibraryService.loadAzureSdkServices();
147147
this.categories = AzureSdkCategoryService.loadAzureSDKCategories();
148148
this.fillDescriptionFromCategoryIfMissing(this.categories, this.services);
149-
AzureTaskManager.getInstance().runLater(() -> this.loadData(this.categories, this.services, this.searchBox.getText()), AzureTask.Modality.ANY);
149+
AzureTaskManager.getInstance().runAndWait(() -> this.loadData(this.categories, this.services, this.searchBox.getText()), AzureTask.Modality.ANY);
150150
Optional.ofNullable(this.lastNodePath).ifPresent(p -> AzureTaskManager.getInstance().runAndWait(() -> TreeUtil.selectPath(this.tree, p)));
151151
AzureEventBus.emit("reference.refresh");
152152
} catch (final IOException e) {

0 commit comments

Comments
 (0)