Visual Bug Fix
Language and CFR settings dialog display the bug best
This commit is contained in:
parent
173b1937ff
commit
e3d16031b8
1 changed files with 2 additions and 2 deletions
|
@ -175,14 +175,14 @@ public class BetterJOptionPane
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onCreate.onCreate(dialog);
|
||||||
|
|
||||||
//check if the dialogue is in a poor location, attempt to correct
|
//check if the dialogue is in a poor location, attempt to correct
|
||||||
if (dialog.getLocation().getY() == 0 || dialog.getLocation().getY() == 1)
|
if (dialog.getLocation().getY() == 0 || dialog.getLocation().getY() == 1)
|
||||||
dialog.setLocationRelativeTo(null); //TODO check if BytecodeViewer.viewer is better on multi monitor for this edgecase
|
dialog.setLocationRelativeTo(null); //TODO check if BytecodeViewer.viewer is better on multi monitor for this edgecase
|
||||||
else
|
else
|
||||||
dialog.setLocationRelativeTo(BytecodeViewer.viewer);
|
dialog.setLocationRelativeTo(BytecodeViewer.viewer);
|
||||||
|
|
||||||
onCreate.onCreate(dialog);
|
|
||||||
|
|
||||||
dialog.show();
|
dialog.show();
|
||||||
dialog.dispose();
|
dialog.dispose();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue