mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-30 17:05:37 +08:00
(DirectoryPosition): check current item for null.
This commit is contained in:
parent
7d93f14e6f
commit
209d98aea6
@ -321,7 +321,7 @@ namespace GARbro.GUI
|
||||
public DirectoryPosition (DirectoryViewModel vm, EntryViewModel item)
|
||||
{
|
||||
Path = vm.Path;
|
||||
Item = item.Name;
|
||||
Item = null != item ? item.Name : null;
|
||||
if (vm.IsArchive)
|
||||
ArchivePath = (vm as ArchiveViewModel).SubDir;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user