public static MaintainerWindow Create()
        {
            MaintainerWindow window = GetWindow <MaintainerWindow>("Maintainer");

            window.minSize = new Vector2(640f, 480f);
            window.Focus();
            currentTab = MaintainerSettings.Instance.selectedTabIndex;

            IssuesTab.Refresh();

            return(window);
        }
        private void OnGUI()
        {
            UIHelpers.SetupStyles();

            EditorGUI.BeginChangeCheck();
            currentTab = GUILayout.Toolbar(currentTab, tabs, GUILayout.ExpandWidth(false));
            if (EditorGUI.EndChangeCheck())
            {
                MaintainerSettings.Instance.selectedTabIndex = currentTab;
                EditorUtility.SetDirty(MaintainerSettings.Instance);
            }

            if (currentTab == 0)
            {
                IssuesTab.Draw(this);
            }
            else if (currentTab == 1)
            {
                AboutTab.Draw(this);
            }
        }