Skip to content

Commit

Permalink
Bug 280443: Recalculate layout data for button
Browse files Browse the repository at this point in the history
Change-Id: I763489b6d9adb14fedf649b79c7d90e1c13f213d
Signed-off-by: Leif Geiger <leif.geiger@yatta.de>
  • Loading branch information
l3-g5 committed Nov 19, 2019
1 parent 0335d92 commit 4e10248
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ protected void createButtonsForButtonBar(Composite parent) {
super.createButtonsForButtonBar(parent);
Button okButton = getButton(IDialogConstants.OK_ID);
okButton.setText(Messages.MissingNatureDetector_ShowSolutions);
// recalculate layout data - fixes #280443
setButtonLayoutData(okButton);
okButton.setEnabled(canComplete());
}

Expand Down

0 comments on commit 4e10248

Please sign in to comment.