summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-02 12:26:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-02 12:26:12 +0300
commit0cd26c72566046b2c3a055746519e79caae30360 (patch)
tree4100bea7eede35a8292c03cb492422876dc20435
parent6db3a441b0e10ddde82c60f492032b5db1b69dec (diff)
fixes #3033 (Apply in options breaks down push button's state in SRMM toolbar)
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp
index 7d4b45bf8f..2f5634237c 100644
--- a/src/mir_app/src/srmm_toolbar.cpp
+++ b/src/mir_app/src/srmm_toolbar.cpp
@@ -644,8 +644,9 @@ public:
bool OnApply() override
{
OnTreeSelChanging(nullptr); // save latest changes
- SaveTree(); // save the whole tree then
+ SaveTree(); // save the whole tree then
CB_ReInitCustomButtons();
+ Chat_UpdateOptions(); // also restore chat windows
uint16_t newGap = m_gap.GetPosition();
if (newGap != g_iButtonGap) {