Révision 778
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 778) | ||
---|---|---|
590 | 590 |
|
591 | 591 |
// Hide the computing parameter area if the editor wasn't open and the result is computed |
592 | 592 |
if (!update) { |
593 |
if (!this.getResult().isDirty()) { |
|
593 |
if (!this.getResult().isDirty() && !this.topToolBar.isDisposed()) {
|
|
594 | 594 |
this.topToolBar.setComputingParametersVisible(false); |
595 | 595 |
} |
596 | 596 |
} |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditorToolBar.java (revision 778) | ||
---|---|---|
97 | 97 |
* |
98 | 98 |
*/ |
99 | 99 |
public void setVisible(String id, boolean visible) { |
100 |
if (groups.containsKey(id)) { |
|
100 |
if (groups.containsKey(id) && !groups.get(id).isDisposed()) {
|
|
101 | 101 |
Composite composite = groups.get(id); |
102 | 102 |
OpenCloseButton activationButton = buttons.get(id); |
103 | 103 |
setVisible(composite, activationButton, visible); |
Formats disponibles : Unified diff