Fixed code battle start button becoming visible after closing file selection dialog
parent
48f24fe6cc
commit
c9a1bbefbb
|
@ -1109,8 +1109,8 @@ void CStudio::StartDialog(StudioDialog type)
|
|||
pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW5));
|
||||
if ( pw != nullptr ) pw->ClearState(STATE_ENABLE);
|
||||
|
||||
pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW6));
|
||||
if ( pw != nullptr ) pw->ClearState(STATE_VISIBLE);
|
||||
//pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW6));
|
||||
//if ( pw != nullptr ) pw->ClearState(STATE_VISIBLE);
|
||||
|
||||
pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW7));
|
||||
if ( pw != nullptr ) pw->ClearState(STATE_ENABLE);
|
||||
|
@ -1224,8 +1224,8 @@ void CStudio::StopDialog()
|
|||
pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW5));
|
||||
if ( pw != nullptr ) pw->SetState(STATE_ENABLE);
|
||||
|
||||
pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW6));
|
||||
if ( pw != nullptr ) pw->SetState(STATE_VISIBLE);
|
||||
//pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW6));
|
||||
//if ( pw != nullptr ) pw->SetState(STATE_VISIBLE);
|
||||
|
||||
pw = static_cast< CWindow* >(m_interface->SearchControl(EVENT_WINDOW7));
|
||||
if ( pw != nullptr ) pw->SetState(STATE_ENABLE);
|
||||
|
|
Loading…
Reference in New Issue