diff options
author | George Hazan <ghazan@miranda.im> | 2022-06-02 12:26:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-06-02 12:26:12 +0300 |
commit | 0cd26c72566046b2c3a055746519e79caae30360 (patch) | |
tree | 4100bea7eede35a8292c03cb492422876dc20435 | |
parent | 6db3a441b0e10ddde82c60f492032b5db1b69dec (diff) |
fixes #3033 (Apply in options breaks down push button's state in SRMM toolbar)
-rw-r--r-- | src/mir_app/src/srmm_toolbar.cpp | 3 |
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) { |