IDEA-CR-47782: Fix popups focus in postfix template editor

With canBeParent=false popups get settings window as a focus owner.

(cherry picked from commit 25c9da22126b1109e75b0ed41b17d162834ae164)

GitOrigin-RevId: 274ac0cccee7c289a4de8675ec087eebd9155bbe
This commit is contained in:
Dmitry Neverov
2019-05-29 18:08:43 +03:00
committed by intellij-monorepo-bot
parent 6825971ff2
commit 0e935497e7
@@ -26,7 +26,7 @@ public class PostfixEditTemplateDialog extends DialogWrapper {
@NotNull PostfixTemplateEditor editor,
@NotNull String templateType,
@Nullable PostfixTemplate template) {
super(null, parentComponent, false, IdeModalityType.IDE);
super(null, parentComponent, true, IdeModalityType.IDE);
myEditor = editor;
Disposer.register(getDisposable(), editor);
String initialName = template != null ? StringUtil.trimStart(template.getKey(), ".") : "";