File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
CodeMovement.EbcdicCompare.Presentation/ViewModel Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,10 @@ public string SelectedNewEbcdicFile
9191 get { return _selectedNewEbcdicFile ; }
9292 set
9393 {
94- _selectedNewEbcdicFile = value ;
94+ _selectedNewEbcdicFile = value != null
95+ ? System . IO . Path . GetFileName ( value )
96+ : null ;
97+
9598 OnPropertyChanged ( "SelectedNewEbcdicFile" ) ;
9699 }
97100 }
@@ -265,11 +268,7 @@ private void OnSelectNewCopybook()
265268
266269 private void OnSelectNewEbcdicFile ( )
267270 {
268- var ebcdicFilePath = _fileDialogInteraction . OpenFileDialog ( "Select New EBCDIC file" ) ;
269-
270- SelectedNewEbcdicFile = ebcdicFilePath != null
271- ? System . IO . Path . GetFileName ( ebcdicFilePath )
272- : null ;
271+ SelectedNewEbcdicFile = _fileDialogInteraction . OpenFileDialog ( "Select New EBCDIC file" ) ;
273272 }
274273
275274 #endregion
Original file line number Diff line number Diff line change 11# ebcdic-compare-tool [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/snsicw8e2v06x3uh/branch/master?svg=true )] ( https://ci.appveyor.com/project/cmoresid/ebcdic-compare-tool/branch/master ) [ ![ Quality Gate] ( https://sonarqube.com/api/badges/gate?key=ebcdic-compare-tool )] ( https://sonarqube.com/dashboard/index/ebcdic-compare-tool )
22
33## Installation
4- 1 . Download the [ current release] ( https://github.com/cmoresid/ebcdic-compare-tool/releases/download/v1.0.0 /ebcdic-compare-v1.0.0 .zip ) .
5- 2 . Unzip ebcdic-compare-v1.0.0 .zip to a location of your choice.
4+ 1 . Download the [ current release] ( https://github.com/cmoresid/ebcdic-compare-tool/releases/download/v1.0.1 /ebcdic-compare-v1.0.1 .zip ) .
5+ 2 . Unzip ebcdic-compare-v1.0.1 .zip to a location of your choice.
663 . To open the application, double click the ``` EbcdicCompare.exe ``` icon.
77
88## Instructions
You can’t perform that action at this time.
0 commit comments