Fix iterator container mismatch
This commit is contained in:
parent
26b00e2b10
commit
38d4fea995
|
@ -225,7 +225,7 @@ void FMenuItem::delAccelerator (FWidget* obj)
|
||||||
if ( root
|
if ( root
|
||||||
&& ! root->getAcceleratorList().empty() )
|
&& ! root->getAcceleratorList().empty() )
|
||||||
{
|
{
|
||||||
auto iter = root->getAcceleratorList().begin();
|
auto iter = root->setAcceleratorList().begin();
|
||||||
|
|
||||||
while ( iter != root->getAcceleratorList().end() )
|
while ( iter != root->getAcceleratorList().end() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue