To change the number of undo levels, click on the entryfield and type in the desired number or use the scroll buttons to increase or decrease the number. Values between 1 and 500 are valid. Note that changing this setting clears the undo buffer, meaning that you cannot undo actions that were performed prior to changing the setting.