Don't support colors on face-down tokens

The other client doesn't know about the color, so it causes a desync
This commit is contained in:
RickyRister 2025-04-21 21:45:25 -07:00
parent 2a3eab2aa9
commit 89b60151f3
2 changed files with 5 additions and 2 deletions

View file

@ -162,6 +162,8 @@ void DlgCreateToken::closeEvent(QCloseEvent *event)
void DlgCreateToken::faceDownCheckBoxToggled(bool checked)
{
if (checked) {
colorEdit->setCurrentIndex(6);
colorEdit->setEnabled(false);
ptEdit->clear();
ptEdit->clearFocus();
ptEdit->setEnabled(false);
@ -169,6 +171,7 @@ void DlgCreateToken::faceDownCheckBoxToggled(bool checked)
annotationEdit->clearFocus();
annotationEdit->setEnabled(false);
} else {
colorEdit->setEnabled(true);
ptEdit->setEnabled(true);
annotationEdit->setEnabled(true);
}