IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 94 | 94 | } else if (usage.unused()) { |
| 95 | 95 | // all items were unset (and so is default) |
| 96 | 96 | originalValue = getListEntry(""); |
| 97 | | if (!presetInitiallyMatches && isForceUseLastAsDefault() && LAST_VALUES.containsKey(key)) { |
| | 97 | if (!presetInitiallyMatches && isUseLastAsDefault() && LAST_VALUES.containsKey(key)) { |
| 98 | 98 | combobox.setSelectedItem(getListEntry(LAST_VALUES.get(key))); |
| 99 | 99 | } else { |
| 100 | 100 | combobox.setSelectedItem(originalValue); |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 38 | 38 | list.setSelectedItem(def); |
| 39 | 39 | } else if (usage.unused()) { |
| 40 | 40 | originalValue = null; |
| 41 | | list.setSelectedItem(originalValue); |
| | 41 | if (!presetInitiallyMatches && isUseLastAsDefault() && LAST_VALUES.containsKey(key)) { |
| | 42 | list.setSelectedItem(getListEntry(LAST_VALUES.get(key))); |
| | 43 | } else { |
| | 44 | list.setSelectedItem(originalValue); |
| | 45 | } |
| 42 | 46 | } else { |
| 43 | 47 | originalValue = DIFFERENT; |
| 44 | 48 | list.setSelectedItem(originalValue); |