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()
692
692
EditorGUI . BeginDisabledGroup ( isBusy ) ;
693
693
{
694
694
// 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 ) ;
700
698
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 ) ;
704
702
705
- var newValue = EditorUtility . OpenFilePanel ( GitInstallBrowseTitle ,
706
- gitExecParent ,
707
- gitExecExtension ) ;
703
+ var newValue = EditorUtility . OpenFilePanel ( GitInstallBrowseTitle ,
704
+ gitExecParent ,
705
+ gitExecExtension ) ;
708
706
709
- if ( ! string . IsNullOrEmpty ( newValue ) )
710
- {
711
- newGitExec = newValue ;
712
- }
707
+ if ( ! string . IsNullOrEmpty ( newValue ) )
708
+ {
709
+ newGitExec = newValue ;
713
710
}
714
711
}
715
- GUILayout . EndHorizontal ( ) ;
716
712
}
713
+ GUILayout . EndHorizontal ( ) ;
717
714
718
715
GUILayout . Space ( EditorGUIUtility . standardVerticalSpacing ) ;
719
716
You can’t perform that action at this time.
0 commit comments