From 382b01cc9aba942bbf5f146e7f43ef3547249877 Mon Sep 17 00:00:00 2001 From: morkt Date: Sat, 19 Dec 2015 14:40:22 +0400 Subject: [PATCH] (OpenDirectoryEntry): govnocoding. --- MainWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 134b0650..04886355 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -834,17 +834,17 @@ namespace GARbro.GUI if (VFS.Count == old_fs_count) return; vm = new DirectoryViewModel (VFS.FullPath, new Entry[0], VFS.IsVirtual); + PushViewModel (vm); } else { + PushViewModel (vm); if (VFS.Count > old_fs_count && null != VFS.CurrentArchive) SetStatusText (string.Format ("{0}: {1}", VFS.CurrentArchive.Description, Localization.Format ("MsgFiles", VFS.CurrentArchive.Dir.Count()))); else SetStatusText (""); } - PushViewModel (vm); - if (".." == entry.Name) lv_SelectItem (Path.GetFileName (old_dir)); else