Revert "NOISSUE disable version customization until further notice"

This reverts commit d864c95e2b.
This commit is contained in:
Petr Mrázek 2017-04-08 22:04:07 +02:00
parent 795889d934
commit db7357d008

View File

@ -479,8 +479,7 @@ void VersionPage::updateButtons(int row)
ui->moveUpBtn->setEnabled(patch->isMoveable()); ui->moveUpBtn->setEnabled(patch->isMoveable());
ui->changeVersionBtn->setEnabled(patch->isVersionChangeable()); ui->changeVersionBtn->setEnabled(patch->isVersionChangeable());
ui->editBtn->setEnabled(patch->isCustom()); ui->editBtn->setEnabled(patch->isCustom());
// FIXME: temporarily disabled, bring it back when the new format is stable and ready to replace the 'OneSix' one... ui->customizeBtn->setEnabled(patch->isCustomizable());
ui->customizeBtn->setEnabled(false); // patch->isCustomizable()
ui->revertBtn->setEnabled(patch->isRevertible()); ui->revertBtn->setEnabled(patch->isRevertible());
} }
} }
@ -512,8 +511,6 @@ int VersionPage::currentRow()
void VersionPage::on_customizeBtn_clicked() void VersionPage::on_customizeBtn_clicked()
{ {
// FIXME: temporarily disabled, bring it back when the new format is stable and ready to replace the 'OneSix' one...
return;
auto version = currentRow(); auto version = currentRow();
if(version == -1) if(version == -1)
{ {