[PATCH] Set this.parent of ExtendedDialog
|Reported by:||plaicy||Owned by:||team|
ExtendedDialog has many contructors and not all constructors set "parent".
- Start JOSM
- Make window small but usable
- move window outside of center of screen
- create new datalayer
- add a point
- select an option in the preset menu which open a dialog (example highway=trunk)
This way setLocationRelativeTo in ExtendedDialog is called with "null" argument. This way the dialog is centered according to screen instead relative to JOSM-Windows. In enviroment having several screens it is even worse: The is might be display not on the current screen.