Don't try to show find-all dialog if it's already visible

This commit is contained in:
baldurk
2016-11-21 16:46:31 +01:00
parent a85eb017a3
commit 32c9180f82
+6
View File
@@ -370,6 +370,12 @@ namespace renderdocui.Windows
if (m_FindAll == null)
m_FindAll = new FindAllDialog(FindAllFiles);
if (m_FindAll.Visible)
{
m_FindAll.Activate();
return;
}
m_FindAll.Show(this);
}