Fiw ContextDialog scrollbar when opening
@@ -280,6 +280,11 @@ public class ContextDialog extends Dialog {
} );
wCanvas.addKeyListener( keyAdapter );
+ // Show the dialog now
+ //
+ shell.layout();
+ shell.open();
+
// Filter all actions by default
//
this.filter( null );
@@ -288,11 +293,6 @@ public class ContextDialog extends Dialog {
//
wSearch.setFocus();
- // Show the dialog now
- //
- shell.layout();
- shell.open();
-
// Wait until the dialog is closed
//
while ( !shell.isDisposed() ) {
