MAINT-6424 Reverted disabling of the "Delete preset" button

master
AndreyL ProductEngine 2016-05-25 03:29:53 +03:00
parent 238c1216c3
commit 6f4d9a2321
1 changed files with 0 additions and 2 deletions

View File

@ -53,8 +53,6 @@ BOOL LLFloaterDeletePrefPreset::postBuild()
getChild<LLButton>("cancel")->setCommitCallback(boost::bind(&LLFloaterDeletePrefPreset::onBtnCancel, this));
LLPresetsManager::instance().setPresetListChangeCallback(boost::bind(&LLFloaterDeletePrefPreset::onPresetsListChange, this));
onPresetsListChange(); // ensure that delete button is disabled when the list is empty
return TRUE;
}