store the font change on PeersDialog too

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2907 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-05-14 16:54:30 +00:00
parent 07a9d1c0ae
commit 24e4058bee

View File

@ -1307,6 +1307,9 @@ void PeersDialog::setFont()
mCurrentFont.setItalic(ui.textitalicChatButton->isChecked());
ui.lineEdit->setFont(mCurrentFont);
ui.lineEdit->setTextColor(_currentColor);
RshareSettings settings;
settings.setValue(QString::fromUtf8("ChatScreenFont"), mCurrentFont.toString());
ui.lineEdit->setFocus();