void LLPanelClassifiedEdit::resetDirty() { LLPanelClassifiedInfo::resetDirty(); getChild<LLUICtrl>("classified_snapshot")->resetDirty(); getChild<LLUICtrl>("classified_name")->resetDirty(); LLTextEditor* desc = getChild<LLTextEditor>("classified_desc"); // call blockUndo() to really reset dirty(and make isDirty work as intended) desc->blockUndo(); desc->resetDirty(); getChild<LLUICtrl>("category")->resetDirty(); getChild<LLUICtrl>("content_type")->resetDirty(); getChild<LLUICtrl>("auto_renew")->resetDirty(); getChild<LLUICtrl>("price_for_listing")->resetDirty(); }