diff options
author | Joanna Hulboj <joanna.hulboj@isode.com> | 2017-02-27 09:16:50 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2017-02-28 14:22:41 (GMT) |
commit | b6fd152bf02199cf0a287af6031d75ccb8ae6117 (patch) | |
tree | 520c3505a4e390a946ced76fc11bd11cf7f74a2f /Swift/QtUI | |
parent | 049a95e4e1a4e981cd7a9f9f591f04ce94178548 (diff) | |
download | swift-b6fd152bf02199cf0a287af6031d75ccb8ae6117.zip swift-b6fd152bf02199cf0a287af6031d75ccb8ae6117.tar.bz2 |
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
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtWebKitChatView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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_); } } |