mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-05 08:05:24 +02:00
Bug 495351 - Fix buttons on Arduino Download Dialog.
On Windows, OK and Cancel are reversed. Instead of making Cancel invisible, dispose it so it's gone. Also rename OK to Done. Change-Id: I37a63f431d71797c442c13389ead4bab9d08a8b1
This commit is contained in:
parent
01ae529864
commit
ee7f9a49da
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,8 @@ public class ArduinoDownloadsManager extends WizardDialog {
|
||||||
@Override
|
@Override
|
||||||
protected void createButtonsForButtonBar(Composite parent) {
|
protected void createButtonsForButtonBar(Composite parent) {
|
||||||
super.createButtonsForButtonBar(parent);
|
super.createButtonsForButtonBar(parent);
|
||||||
getButton(IDialogConstants.CANCEL_ID).setVisible(false);
|
getButton(IDialogConstants.CANCEL_ID).dispose();
|
||||||
getButton(IDialogConstants.FINISH_ID).setText("OK");
|
getButton(IDialogConstants.FINISH_ID).setText("Done");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue