From b6fd152bf02199cf0a287af6031d75ccb8ae6117 Mon Sep 17 00:00:00 2001
From: Joanna Hulboj <joanna.hulboj@isode.com>
Date: Mon, 27 Feb 2017 09:16:50 +0000
Subject: Do not reset font size when clearing chat view

Test-Information:
From Swift open any chat window, type something, right click on chat
view and increase font size 3 times, then right click on chat view and
choose Clear. Chat log in a view will be cleared, again type something
the form size stays the same as before clearing the log view.

Change-Id: I8c057dbd4ed52e5d1efce7064d79b9f7244b3d32

diff --git a/Swift/QtUI/QtWebKitChatView.cpp b/Swift/QtUI/QtWebKitChatView.cpp
index 9aeef24..048fe99 100644
--- a/Swift/QtUI/QtWebKitChatView.cpp
+++ b/Swift/QtUI/QtWebKitChatView.cpp
@@ -116,6 +116,7 @@ void QtWebKitChatView::handleClearRequested() {
     if (button == QMessageBox::Yes) {
         logCleared();
         resetView();
+        resizeFont(fontSizeSteps_);
     }
 }
 
-- 
cgit v0.10.2-6-g49f6