mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
fix
This commit is contained in:
parent
cb5b8d34b2
commit
0ea4a73fd2
1 changed files with 3 additions and 3 deletions
|
|
@ -805,7 +805,7 @@ MessagesSettingsPage::MessagesSettingsPage()
|
||||||
connect(&invertHighlightForeground, SIGNAL(stateChanged(int)), this, SLOT(updateTextHighlightColor(int)));
|
connect(&invertHighlightForeground, SIGNAL(stateChanged(int)), this, SLOT(updateTextHighlightColor(int)));
|
||||||
|
|
||||||
mentionColor = new QLineEdit();
|
mentionColor = new QLineEdit();
|
||||||
mentionColor->setClearButtonEnabled(enable);
|
mentionColor->setClearButtonEnabled(true);
|
||||||
mentionColor->setPlaceholderText(tr("Color Code"));
|
mentionColor->setPlaceholderText(tr("Color Code"));
|
||||||
mentionColor->setText(SettingsCache::instance().getChatMentionColor());
|
mentionColor->setText(SettingsCache::instance().getChatMentionColor());
|
||||||
updateMentionPreview();
|
updateMentionPreview();
|
||||||
|
|
@ -821,7 +821,7 @@ MessagesSettingsPage::MessagesSettingsPage()
|
||||||
connect(&roomHistory, SIGNAL(stateChanged(int)), &SettingsCache::instance(), SLOT(setRoomHistory(int)));
|
connect(&roomHistory, SIGNAL(stateChanged(int)), &SettingsCache::instance(), SLOT(setRoomHistory(int)));
|
||||||
|
|
||||||
customAlertString = new QLineEdit();
|
customAlertString = new QLineEdit();
|
||||||
customAlertString->setClearButtonEnabled(enable);
|
customAlertString->setClearButtonEnabled(true);
|
||||||
customAlertString->setPlaceholderText(tr("Word1 Word2 Word3"));
|
customAlertString->setPlaceholderText(tr("Word1 Word2 Word3"));
|
||||||
customAlertString->setText(SettingsCache::instance().getHighlightWords());
|
customAlertString->setText(SettingsCache::instance().getHighlightWords());
|
||||||
connect(customAlertString, SIGNAL(textChanged(QString)), &SettingsCache::instance(),
|
connect(customAlertString, SIGNAL(textChanged(QString)), &SettingsCache::instance(),
|
||||||
|
|
@ -841,7 +841,7 @@ MessagesSettingsPage::MessagesSettingsPage()
|
||||||
chatGroupBox->setLayout(chatGrid);
|
chatGroupBox->setLayout(chatGrid);
|
||||||
|
|
||||||
highlightColor = new QLineEdit();
|
highlightColor = new QLineEdit();
|
||||||
highlightColor->setClearButtonEnabled(enable);
|
highlightColor->setClearButtonEnabled(true);
|
||||||
highlightColor->setPlaceholderText(tr("Color Code"));
|
highlightColor->setPlaceholderText(tr("Color Code"));
|
||||||
highlightColor->setText(SettingsCache::instance().getChatHighlightColor());
|
highlightColor->setText(SettingsCache::instance().getChatHighlightColor());
|
||||||
updateHighlightPreview();
|
updateHighlightPreview();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue