Skip to content

Commit

Permalink
Fix ErrorViewModel file location and delete unwanted files.
Browse files Browse the repository at this point in the history
  • Loading branch information
oMaN-Rod committed Sep 27, 2019
1 parent 67594ee commit 6a885f6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,5 @@ ASALocalRun/
.mfractor/

# Local History for Visual Studio
.localhistory/
.localhistory/
/TrafficGrapher.sln.DotSettings
3 changes: 0 additions & 3 deletions TrafficGrapher.sln.DotSettings

This file was deleted.

2 changes: 1 addition & 1 deletion TrafficGrapher/TrafficGrapher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<Compile Include="View\ErrorModal.xaml.cs">
<DependentUpon>ErrorModal.xaml</DependentUpon>
</Compile>
<Compile Include="View\ErrorModalViewModel.cs" />
<Compile Include="ViewModel\ErrorModalViewModel.cs" />
<Compile Include="View\GraphSettingsModal.xaml.cs">
<DependentUpon>GraphSettingsModal.xaml</DependentUpon>
</Compile>
Expand Down
3 changes: 2 additions & 1 deletion TrafficGrapher/View/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
xmlns:geared="clr-namespace:LiveCharts.Geared;assembly=LiveCharts.Geared"
xmlns:ui="clr-namespace:TrafficGrapher.View"
xmlns:viewModel="clr-namespace:TrafficGrapher.ViewModel"
mc:Ignorable="d"
Title="Traffic Grapher"
Height="540" Width="960"
Expand All @@ -23,7 +24,7 @@
<materialDesign:DialogHost.DialogContentTemplate>
<DataTemplate>
<DataTemplate.Resources>
<DataTemplate DataType="{x:Type ui:ErrorModalViewModel}">
<DataTemplate DataType="{x:Type viewModel:ErrorModalViewModel}">
<ui:ErrorModal />
</DataTemplate>
</DataTemplate.Resources>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using TrafficGrapher.Model;

namespace TrafficGrapher.View
namespace TrafficGrapher.ViewModel
{
public class ErrorModalViewModel
{
Expand Down

0 comments on commit 6a885f6

Please sign in to comment.