mirror of
https://github.com/4sval/FModel.git
synced 2026-04-20 16:47:44 -05:00
prout
This commit is contained in:
parent
16411edf9c
commit
2d8a1322e1
|
|
@ -64,7 +64,7 @@
|
|||
</Viewbox>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Header="Packages Info" Command="{Binding MenuCommand}" CommandParameter="Directory_PackagesInfo" IsEnabled="{Binding IsReady}">
|
||||
<MenuItem Header="Archives Info" Command="{Binding MenuCommand}" CommandParameter="Directory_ArchivesInfo" IsEnabled="{Binding IsReady}">
|
||||
<MenuItem.Icon>
|
||||
<Viewbox Width="16" Height="16">
|
||||
<Canvas Width="24" Height="24">
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ namespace FModel.ViewModels.Commands
|
|||
case "Directory_Backup":
|
||||
Helper.OpenWindow<AdonisWindow>("Backup Manager", () => new BackupManager(contextViewModel.CUE4Parse.Provider.GameName).Show());
|
||||
break;
|
||||
case "Directory_PackagesInfo":
|
||||
contextViewModel.CUE4Parse.TabControl.AddTab("Packages Info");
|
||||
case "Directory_ArchivesInfo":
|
||||
contextViewModel.CUE4Parse.TabControl.AddTab("Archives Info");
|
||||
contextViewModel.CUE4Parse.TabControl.SelectedTab.Highlighter = AvalonExtensions.HighlighterSelector("json");
|
||||
contextViewModel.CUE4Parse.TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(contextViewModel.CUE4Parse.GameDirectory.DirectoryFiles, Formatting.Indented), false);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user