From 24e4058bee6febb0e2c5eef1ccb25a10ffdbed21 Mon Sep 17 00:00:00 2001 From: defnax Date: Fri, 14 May 2010 16:54:30 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/PeersDialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index 24c216075..a154ad3c6 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -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();