mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed hide commands and show commands not executing properly
This commit is contained in:
parent
f092eab842
commit
979af2925d
1 changed files with 8 additions and 2 deletions
|
@ -2617,7 +2617,10 @@ void UIWidget::ExecuteShowCommands
|
|||
{
|
||||
for( int i = 1; i <= m_showcommands.NumObjects(); i++ )
|
||||
{
|
||||
uii.Cmd_Stuff( m_showcommands.ObjectAt( i )->c_str() );
|
||||
//uii.Cmd_Stuff( m_showcommands.ObjectAt( i )->c_str() );
|
||||
// Fixed in 2.0
|
||||
Event event(m_showcommands.ObjectAt(i)->c_str());
|
||||
ProcessEvent(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2629,7 +2632,10 @@ void UIWidget::ExecuteHideCommands
|
|||
{
|
||||
for( int i = 1; i <= m_hidecommands.NumObjects(); i++ )
|
||||
{
|
||||
uii.Cmd_Stuff( m_hidecommands.ObjectAt( i )->c_str() );
|
||||
//uii.Cmd_Stuff( m_hidecommands.ObjectAt( i )->c_str() );
|
||||
// Fixed in 2.0
|
||||
Event event(m_hidecommands.ObjectAt(i)->c_str());
|
||||
ProcessEvent(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue