diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-25 13:24:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-25 13:24:33 +0300 |
commit | 5623e34833d5e973f2c9897cd022d5ca6270904c (patch) | |
tree | 008f0db16b3ac83612d95384885c6633d2abf6da | |
parent | f1fa87fe7200c11fefbab51a6aa373c0b0aa36f5 (diff) |
fixes #2804 (CCtrlEdit changes do not affect CCtrlSpin position)
-rw-r--r-- | src/mir_core/src/CCtrlSpin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_core/src/CCtrlSpin.cpp b/src/mir_core/src/CCtrlSpin.cpp index 2c254025b7..223a333ae9 100644 --- a/src/mir_core/src/CCtrlSpin.cpp +++ b/src/mir_core/src/CCtrlSpin.cpp @@ -47,8 +47,9 @@ bool CCtrlSpin::OnApply() { CSuper::OnApply(); + m_wCurr = SendMsg(UDM_GETPOS, 0, 0); if (m_dbLink != nullptr) - SaveInt(GetPosition()); + SaveInt(m_wCurr); return true; } |