[Glide64] Only add Texture config page when created

This commit is contained in:
zilmar 2016-04-02 20:01:37 +11:00
parent 3618117b86
commit 9cfaede4eb
1 changed files with 1 additions and 1 deletions

View File

@ -859,8 +859,8 @@ void COptionsSheet::UpdateTextureSettings(void)
{
m_pgTextureEnhancement = new CConfigTextureEnhancement;
m_hTextureEnhancement = m_pgTextureEnhancement->Create();
AddPage(m_hTextureEnhancement);
}
AddPage(m_hTextureEnhancement);
}
else if (m_hTextureEnhancement != NULL)
{