mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-01-05 07:31:08 +00:00
Updated to have all Wizard dialogs centered on the parent window.
This commit is contained in:
parent
e8faaaff0b
commit
0990b96d98
@ -149,6 +149,7 @@ public abstract class Wizard {
|
|||||||
*/
|
*/
|
||||||
public void open() {
|
public void open() {
|
||||||
createDialog();
|
createDialog();
|
||||||
|
SwtUtil.center(parent, dialog);
|
||||||
dialog.open();
|
dialog.open();
|
||||||
Display display = dialog.getDisplay();
|
Display display = dialog.getDisplay();
|
||||||
while (!dialog.isDisposed()) {
|
while (!dialog.isDisposed()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user