This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-16
lines changed
src/UnityExtension/Assets/Editor/GitHub.Unity/UI Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -692,28 +692,25 @@ private void OnInstallPathGUI()
692692 EditorGUI . BeginDisabledGroup ( isBusy ) ;
693693 {
694694 // Install path field
695- //EditorGUI.BeginChangeCheck();
696- {
697- GUILayout . BeginHorizontal ( ) ;
698- {
699- newGitExec = EditorGUILayout . TextField ( PathToGit , newGitExec ) ;
695+ GUILayout . BeginHorizontal ( ) ;
696+ {
697+ newGitExec = EditorGUILayout . TextField ( PathToGit , newGitExec ) ;
700698
701- if ( GUILayout . Button ( BrowseButton , EditorStyles . miniButton , GUILayout . Width ( 25 ) ) )
702- {
703- GUI . FocusControl ( null ) ;
699+ if ( GUILayout . Button ( BrowseButton , EditorStyles . miniButton , GUILayout . Width ( 25 ) ) )
700+ {
701+ GUI . FocusControl ( null ) ;
704702
705- var newValue = EditorUtility . OpenFilePanel ( GitInstallBrowseTitle ,
706- gitExecParent ,
707- gitExecExtension ) ;
703+ var newValue = EditorUtility . OpenFilePanel ( GitInstallBrowseTitle ,
704+ gitExecParent ,
705+ gitExecExtension ) ;
708706
709- if ( ! string . IsNullOrEmpty ( newValue ) )
710- {
711- newGitExec = newValue ;
712- }
707+ if ( ! string . IsNullOrEmpty ( newValue ) )
708+ {
709+ newGitExec = newValue ;
713710 }
714711 }
715- GUILayout . EndHorizontal ( ) ;
716712 }
713+ GUILayout . EndHorizontal ( ) ;
717714
718715 GUILayout . Space ( EditorGUIUtility . standardVerticalSpacing ) ;
719716
You can’t perform that action at this time.
0 commit comments