Skip to content

Commit b4ff391

Browse files
author
Federico Fissore
committed
Preferences frame opens on top of active editor
1 parent 2a0bc2b commit b4ff391

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/processing/app/Preferences.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,7 @@ protected void showFrame(Editor editor) {
675675
updateExtensionBox.setSelected(PreferencesData.get("editor.update_extension") == null ||
676676
PreferencesData.getBoolean("editor.update_extension"));
677677

678+
dialog.setLocationRelativeTo(editor);
678679
dialog.setVisible(true);
679680
}
680681

0 commit comments

Comments
 (0)