private void DoSearchToggle(ShowSearchField field) { if (this.selectedPage == Page.History) { if (this.m_SearchField.DoGUI()) { this.asHistoryWin.FilterItems(false); } GUILayout.Space(10f); } }
private void SetShownSearchField(ShowSearchField newShow) { EditorGUI.FocusTextInControl("SearchFilter"); this.m_SearchField.Show = false; this.m_ShowSearch = newShow; this.m_SearchField.Show = true; this.asHistoryWin.FilterItems(false); }