Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortherzok <marius.ungureanu@xamarin.com>2016-04-04 12:54:36 +0300
committertherzok <marius.ungureanu@xamarin.com>2016-04-04 12:55:07 +0300
commitd52424677743ff5f738a41535067864476eb3a3d (patch)
treeac1d5b27db85c8d2e8300c314cc560798c3e6fc1 /main/src/addins/MonoDevelop.Gettext
parentcf38f77280b4e1965552d333f0dfb959d5aeb8a7 (diff)
[PO] Fix undo/redo in PO editor.
Bug 4608 - "undo"-ing in po editor textbox causes crash.
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext')
-rw-r--r--main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
index da4a608b05..3063b00c27 100644
--- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
+++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
@@ -882,7 +882,7 @@ namespace MonoDevelop.Gettext
TreeIter iter;
if (store.GetIterFirst (out iter)) {
do {
- CatalogEntry curEntry = store.GetValue (iter, 4) as CatalogEntry;
+ CatalogEntry curEntry = store.GetValue (iter, 0) as CatalogEntry;
if (entry == curEntry) {
this.treeviewEntries.Selection.SelectIter (iter);
TreePath iterPath = store.GetPath (iter);