From 72a7e7f8e7db9bf7b4147fd5efe7f2638cc2868a Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 22 Feb 2019 16:01:21 +0100 Subject: [PATCH] buggy remove operation, accidentally removing wrong entries fixed --- src/controls/QskHintAnimator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controls/QskHintAnimator.cpp b/src/controls/QskHintAnimator.cpp index 5f549299..3c7d7be9 100644 --- a/src/controls/QskHintAnimator.cpp +++ b/src/controls/QskHintAnimator.cpp @@ -156,7 +156,7 @@ namespace void unregisterTable( QskHintAnimatorTable* table ) { auto it = std::lower_bound( m_tables.begin(), m_tables.end(), table ); - if ( it != m_tables.end() ) + if ( it != m_tables.end() && *it == table ) m_tables.erase( it ); }