NOISSUE disable version customization until further notice

This commit is contained in:
Petr Mrázek 2017-04-06 23:39:50 +02:00
parent dff307557b
commit d864c95e2b

View File

@ -479,7 +479,8 @@ 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());
ui->customizeBtn->setEnabled(patch->isCustomizable()); // FIXME: temporarily disabled, bring it back when the new format is stable and ready to replace the 'OneSix' one...
ui->customizeBtn->setEnabled(false); // patch->isCustomizable()
ui->revertBtn->setEnabled(patch->isRevertible()); ui->revertBtn->setEnabled(patch->isRevertible());
} }
} }
@ -511,6 +512,8 @@ 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)
{ {