private void DoSearchToggle(ShowSearchField field) { if (this.selectedPage == Page.History) { if (this.m_SearchField.DoGUI()) { this.asHistoryWin.FilterItems(false); } GUILayout.Space(10f); } }