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