Note: this clears the undo stack, because otherwise we couldn't update the limit. CCMAIL:kimageshop@kde.org