CommandManager needs to know which defaults are standard and which are in the full (max) list.
| 216 | // CommandManager needs to know which defaults are standard and which are in the |
| 217 | // full (max) list. |
| 218 | void CommandManager::Populator::SetMaxList() |
| 219 | { |
| 220 | // This list is a DUPLICATE of the list in |
| 221 | // KeyConfigPrefs::OnImportDefaults(wxCommandEvent & event) |
| 222 | |
| 223 | // TODO: At a later date get rid of the maxList entirely and |
| 224 | // instead use flags in the menu entries to indicate whether the default |
| 225 | // shortcut is standard or full. |
| 226 | |
| 227 | mMaxListOnly.clear(); |
| 228 | |
| 229 | // if the full list, don't exclude any. |
| 230 | bool bFull = gPrefs->ReadBool(wxT("/GUI/Shortcuts/FullDefaults"),false); |
| 231 | if( bFull ) |
| 232 | return; |
| 233 | |
| 234 | mMaxListOnly = ExcludedList(); |
| 235 | } |
| 236 | |
| 237 | |
| 238 | void CommandManager::PurgeData() |