static void DoRefreshButton( bool isEnabled, MergeViewLogic mergeViewLogic) { GUI.enabled = isEnabled; if (GUILayout.Button(new GUIContent( Images.GetRefreshIcon()))) { mergeViewLogic.Refresh(); } GUI.enabled = true; }
static void DoRefreshButton( bool isEnabled, PlasticGUIClient plasticClient, MergeViewLogic mergeViewLogic) { GUI.enabled = isEnabled; if (GUILayout.Button(new GUIContent( Images.GetRefreshIcon()), EditorStyles.toolbarButton)) { mergeViewLogic.Refresh(); } GUI.enabled = true; }