mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-27 21:34:14 +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…
x
Reference in New Issue
Block a user