From 485edcca7b06597b54c36bbf1c9fb6e0a9852c54 Mon Sep 17 00:00:00 2001 From: JKlingen Date: Wed, 25 Jul 2012 18:10:04 +0000 Subject: [PATCH] fixed issue causing cells not to being editable after selecting another language for a column, also removed dummy language file path git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1962 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- GreenshotLanguageEditor/EntriesEditorWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GreenshotLanguageEditor/EntriesEditorWindow.xaml.cs b/GreenshotLanguageEditor/EntriesEditorWindow.xaml.cs index ad8cb58d8..d25e9d9b8 100644 --- a/GreenshotLanguageEditor/EntriesEditorWindow.xaml.cs +++ b/GreenshotLanguageEditor/EntriesEditorWindow.xaml.cs @@ -93,7 +93,7 @@ namespace GreenshotLanguageEditor { return; } - languagePath = @"C:\Users\jens\Documents\Sharpdevelop Projects\Greenshot\trunk\Greenshot\Languages\"; + //languagePath = @"C:\Users\jens\Documents\dotNET Projects\Greenshot\Greenshot\Languages"; InitializeComponent(); DataContext = this; @@ -102,7 +102,7 @@ namespace GreenshotLanguageEditor { View = CollectionViewSource.GetDefaultView(LoadResources(languagePath)); languageResources.CollectionChanged += delegate { - View = CollectionViewSource.GetDefaultView(languageResources.Values); + View = CollectionViewSource.GetDefaultView(new List(languageResources.Values)); View.Refresh(); }; }