diff options
author | asuratva <asuratva@proton.me> | 2024-05-18 10:58:37 +0000 |
---|---|---|
committer | asuratva <asuratva@proton.me> | 2024-05-18 10:58:37 +0000 |
commit | 1d7ee3161693ed016264a4940778a6e4b2258e38 (patch) | |
tree | 059f68cc39a725a0bc64538e5771ef3525aa6ec6 /src/gui/widgets/tabs/chat/chattab.cpp | |
parent | 9294f5a1ba84c7a4e947ab94a2645625e8a6171d (diff) | |
parent | 5570d9d1c2b1b5fba50283ec443088430332bb86 (diff) | |
download | plus-1d7ee3161693ed016264a4940778a6e4b2258e38.tar.gz plus-1d7ee3161693ed016264a4940778a6e4b2258e38.tar.bz2 plus-1d7ee3161693ed016264a4940778a6e4b2258e38.tar.xz plus-1d7ee3161693ed016264a4940778a6e4b2258e38.zip |
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp index ec9042694..9809287d2 100644 --- a/src/gui/widgets/tabs/chat/chattab.cpp +++ b/src/gui/widgets/tabs/chat/chattab.cpp @@ -97,6 +97,9 @@ ChatTab::ChatTab(const Widget2 *const widget, if (chatWindow != nullptr) chatWindow->addTab(this); mTextOutput->updateSize(true); + + if (config.getBoolValue("showChatHistory")) + loadFromLogFile(logName); } ChatTab::~ChatTab() |