mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[services] EA-1185682 move run content on edt when setting services types
GitOrigin-RevId: a87beff32071aa1c144c0f35849f7b760be4d568
This commit is contained in:
committed by
intellij-monorepo-bot
parent
468c2397f6
commit
1a50519778
@@ -45,6 +45,7 @@ import com.intellij.openapi.wm.ToolWindowId;
|
||||
import com.intellij.platform.execution.dashboard.tree.RunConfigurationNode;
|
||||
import com.intellij.platform.execution.dashboard.tree.RunDashboardStatusFilter;
|
||||
import com.intellij.platform.execution.serviceView.ServiceViewManagerImpl;
|
||||
import com.intellij.ui.AppUIUtil;
|
||||
import com.intellij.ui.ClientProperty;
|
||||
import com.intellij.ui.IdeBorderFactory;
|
||||
import com.intellij.ui.SideBorder;
|
||||
@@ -320,10 +321,10 @@ public final class RunDashboardManagerImpl implements RunDashboardManager, Persi
|
||||
|
||||
syncConfigurations();
|
||||
if (!removed.isEmpty()) {
|
||||
moveRemovedContent(getContainsTypeIdCondition(removed));
|
||||
AppUIUtil.invokeOnEdt(() -> moveRemovedContent(getContainsTypeIdCondition(removed)), myProject.getDisposed());
|
||||
}
|
||||
if (!added.isEmpty()) {
|
||||
moveAddedContent(getContainsTypeIdCondition(added));
|
||||
AppUIUtil.invokeOnEdt(() -> moveAddedContent(getContainsTypeIdCondition(added)), myProject.getDisposed());
|
||||
}
|
||||
updateDashboard(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user