mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
avoid templatePresentation assertion
GitOrigin-RevId: bc239f98f4d96cd79384aacc94b8cfca9f0be43a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c019fa61c3
commit
26f753e5b4
@@ -526,7 +526,9 @@ public class RunConfigurationsComboBoxAction extends ComboBoxAction implements D
|
||||
myProject = project;
|
||||
myConfiguration = configuration;
|
||||
// TODO for RemDev old action update only, remove ASAP
|
||||
update(AnActionEvent.createFromDataContext("", getTemplatePresentation(), DataContext.EMPTY_CONTEXT));
|
||||
Presentation p = getTemplatePresentation().clone();
|
||||
update(AnActionEvent.createFromDataContext(ActionPlaces.UNKNOWN, p, DataContext.EMPTY_CONTEXT));
|
||||
getTemplatePresentation().copyFrom(p);
|
||||
}
|
||||
|
||||
public @NotNull RunnerAndConfigurationSettings getConfiguration() {
|
||||
|
||||
Reference in New Issue
Block a user