@@ -114,11 +114,11 @@ export default class LoadFile extends React.Component {
114114 </ IconButton >
115115
116116 < TextField
117- className = "netpyneFieldNoWidth fx-11 no-z-index"
118- label = "Json file:"
119- value = { this . state . jsonModelFolder }
120- onChange = { event => this . setState ( { jsonModelFolder : event . target . value } ) }
121- helperText = { this . state . jsonPath != '' ? 'path: ' + this . state . jsonPath : '' }
117+ className = "netpyneFieldNoWidth fx-11 no-z-index"
118+ label = "Json file:"
119+ value = { this . state . jsonModelFolder }
120+ onChange = { event => this . setState ( { jsonModelFolder : event . target . value } ) }
121+ helperText = { this . state . jsonPath != '' ? 'path: ' + this . state . jsonPath : '' }
122122 />
123123
124124 </ div >
@@ -172,29 +172,31 @@ export default class LoadFile extends React.Component {
172172
173173 < div className = "flex-row" >
174174 < IconButton
175- className = 'flex-row-icon'
176- onClick = { ( ) => this . showExplorerDialog ( 'modFolder' , true ) }
177- tooltip-data = 'File explorer'
178- disabled = { disableLoadMod }
175+ className = 'flex-row-icon'
176+ onClick = { ( ) => this . showExplorerDialog ( 'modFolder' , true ) }
177+ tooltip-data = 'File explorer'
178+ disabled = { disableLoadMod }
179179 >
180- < Icon className = { `fa fa-folder-o ${ ! disableLoadMod && "listIcon" } ` } />
180+ < Icon className = { `fa fa-folder-o ${ ! disableLoadMod && "listIcon" } ` } />
181181 </ IconButton >
182182
183183 < TextField
184- className = "netpyneFieldNoWidth fx-8 no-z-index"
185- label = "Mod folder:"
186- disabled = { disableLoadMod }
187- value = { this . state . modFolder }
188- onChange = { event => { this . setState ( { modFolder : event . target . value } ) } }
189- helperText = { this . state . modPath != '' ? 'path: ' + this . state . modPath : '' }
184+ className = "netpyneFieldNoWidth fx-8 no-z-index"
185+ label = "Mod folder:"
186+ disabled = { disableLoadMod }
187+ value = { this . state . modFolder }
188+ onChange = { event => {
189+ this . setState ( { modFolder : event . target . value } )
190+ } }
191+ helperText = { this . state . modPath != '' ? 'path: ' + this . state . modPath : '' }
190192 />
191193
192194 < Checkbox
193195 label = "Compile mod files"
194196 checked = { this . state . compileMod }
195197 className = { "netpyneCheckbox fx-3" }
196198 disabled = { this . state . areModFieldsRequired === '' ? true : ! this . state . areModFieldsRequired }
197- onChange = { ( ) => this . setState ( oldState => ( { compileMod : this . state . areModFieldsRequired ? ! oldState . compileMod : false } ) ) }
199+ onChange = { ( ) => this . setState ( oldState => ( { compileMod : this . state . areModFieldsRequired ? ! oldState . compileMod : false } ) ) }
198200 />
199201 </ div >
200202
0 commit comments