mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-125537 Pushing Enter in dialog windows chooses default focus instead of manually selected one on Linux
GitOrigin-RevId: ad373f3c8d0354dcc5712244b3549199a0ac1142
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c02ca05a5e
commit
20332b40d7
@@ -1376,7 +1376,7 @@ public abstract class DialogWrapper {
|
||||
if (!postponeValidation()) {
|
||||
startTrackingValidation();
|
||||
}
|
||||
if (SystemInfo.isWindows) {
|
||||
if (SystemInfo.isWindows || (SystemInfo.isLinux && Registry.is("ide.linux.enter.on.dialog.triggers.focused.button"))) {
|
||||
installEnterHook(root, myDisposable);
|
||||
}
|
||||
myErrorTextAlarm.setActivationComponent(root);
|
||||
|
||||
@@ -1612,6 +1612,9 @@ batch.jvm.inspections.description=Enables common batch inspections for Java and
|
||||
ide.project.view.change.icon.on.selection=false
|
||||
ide.project.view.change.icon.on.selection.description=Use Darcula icons when tree element is focused and selected
|
||||
|
||||
ide.linux.enter.on.dialog.triggers.focused.button=true
|
||||
ide.linux.enter.on.dialog.triggers.focused.button.description=IDEA-125537 Pushing Enter in dialog windows chooses default focus instead of manually selected one on Linux
|
||||
|
||||
ide.tree.large.model.allowed=false
|
||||
ide.tree.large.model.allowed.description=Allows to use FixedHeightLayoutCache if setLargeModel(true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user