Kaynağa Gözat

Fixes issue 3826: Colour chooser dialog should position itself before being made visible rather than appearing, then jumping

Change-Id: I90e1b51868dc35e332f680f6448f4ce500c8c2d7
Reviewed-on: http://gerrit.dmdirc.com/944
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
tags/0.6.3
Greboid 14 yıl önce
ebeveyn
işleme
f31164b0b6

+ 1
- 0
src/com/dmdirc/addons/ui_swing/dialogs/StandardDialog.java Dosyayı Görüntüle

@@ -118,6 +118,7 @@ public class StandardDialog extends JDialog {
118 118
                 executeAction(getCancelButton());
119 119
             }
120 120
         });
121
+        centreOnOwner();
121 122
         pack();
122 123
         centreOnOwner();
123 124
         setVisible(false);

Loading…
İptal
Kaydet