Revision cc1302bd
Added by Katja Luther almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/GeneralPreferencePage.java | ||
---|---|---|
223 | 223 |
public void widgetSelected(SelectionEvent e) { |
224 | 224 |
if (e.getSource().equals(this.showIOMenuButton)) { |
225 | 225 |
String text = showIOMenuButton.getText(); |
226 |
text = text.replace(" (Default)", "");
|
|
226 |
text = text.replace(Messages.Preference_Use_Default, "");
|
|
227 | 227 |
if (text.equals(SHOW)){ |
228 | 228 |
isShowIOMenu = true; |
229 | 229 |
}else{ |
... | ... | |
232 | 232 |
} |
233 | 233 |
if (e.getSource().equals(this.showChecklistPerspectiveButton)) { |
234 | 234 |
String text = showChecklistPerspectiveButton.getText(); |
235 |
text = text.replace(" (Default)", "");
|
|
235 |
text = text.replace(Messages.Preference_Use_Default, "");
|
|
236 | 236 |
if (text.equals(SHOW)){ |
237 | 237 |
isShowCheckListPerspective = true; |
238 | 238 |
}else{ |
... | ... | |
241 | 241 |
} |
242 | 242 |
if (e.getSource().equals(this.showTaxonNodeWizardButton)) { |
243 | 243 |
String text = showTaxonNodeWizardButton.getText(); |
244 |
text = text.replace(" (Default)", "");
|
|
244 |
text = text.replace(Messages.Preference_Use_Default, "");
|
|
245 | 245 |
if (text.equals(SHOW)){ |
246 | 246 |
isShowTaxonNodeWizard = true; |
247 | 247 |
}else{ |
248 | 248 |
isShowTaxonNodeWizard = false; |
249 | 249 |
} |
250 | 250 |
} |
251 |
this.setApply(true); |
|
251 | 252 |
|
252 | 253 |
|
253 | 254 |
} |
Also available in: Unified diff
ref #8045: check whether all db preferences are deleted from DB if value is default value