mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed WordlistManager V and VM
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<Label Content="TIP: You can drag and drop files into the window to automatically import multiple lists at once." FontSize="8"/>
|
||||
</StackPanel>
|
||||
|
||||
<ListView x:Name="wordlistListView" Grid.Row="1" Foreground="{DynamicResource ForegroundMain}" Background="Transparent" ItemsSource="{Binding Path=WordlistList}" SelectionMode="Extended" BorderThickness="1" AllowDrop="True" Drop="wordlistListViewDrop">
|
||||
<ListView x:Name="wordlistListView" Grid.Row="1" Foreground="{DynamicResource ForegroundMain}" Background="Transparent" ItemsSource="{Binding Path=WordlistsCollection}" SelectionMode="Extended" BorderThickness="1" AllowDrop="True" Drop="wordlistListViewDrop">
|
||||
<!-- Align Headers to the Left -->
|
||||
<ListView.Resources>
|
||||
<Style x:Key="GridViewColumnHeaderGripper" TargetType="Thumb">
|
||||
|
||||
@@ -22,8 +22,8 @@ namespace OpenBullet.ViewModels
|
||||
|
||||
public WordlistManagerViewModel()
|
||||
{
|
||||
WordlistsCollection = new ObservableCollection<Wordlist>();
|
||||
_repo = new LiteDBRepository<Wordlist>("wordlists");
|
||||
WordlistsCollection = new ObservableCollection<Wordlist>();
|
||||
}
|
||||
|
||||
public Wordlist GetWordlistByName(string name)
|
||||
|
||||
Reference in New Issue
Block a user