mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Improved naming.
This commit is contained in:
parent
ca5f867957
commit
8a0bff7351
@ -65,13 +65,13 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void Suspend()
|
||||
void SuspendForTrueModal()
|
||||
{
|
||||
if( m_win )
|
||||
m_win->Enable();
|
||||
}
|
||||
|
||||
void Resume()
|
||||
void ResumeAfterTrueModal()
|
||||
{
|
||||
if( m_win )
|
||||
m_win->Disable();
|
||||
@ -575,14 +575,14 @@ int DIALOG_SHIM::ShowQuasiModal()
|
||||
void DIALOG_SHIM::PrepareForModalSubDialog()
|
||||
{
|
||||
if( m_qmodal_parent_disabler )
|
||||
m_qmodal_parent_disabler->Suspend();
|
||||
m_qmodal_parent_disabler->SuspendForTrueModal();
|
||||
}
|
||||
|
||||
|
||||
void DIALOG_SHIM::CleanupAfterModalSubDialog()
|
||||
{
|
||||
if( m_qmodal_parent_disabler )
|
||||
m_qmodal_parent_disabler->Resume();
|
||||
m_qmodal_parent_disabler->ResumeAfterTrueModal();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user