summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-14 01:01:31 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-14 01:01:31 +0100
commit7375853f99cb3064ea24c2116db5330e066ffc5d (patch)
treeddd1db2fdaf7eecf1b1304992159ef0a36cad575
parenta6a4671df0a6405f1ec8b03eebab90f55c909625 (diff)
Fix strange content selection breakage (#636).
-rw-r--r--ChangeLog3
-rw-r--r--src/wx/content_panel.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 14204b588..5ad26c4d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-07-14 Carl Hetherington <cth@carlh.net>
+ * Fix occasional strange failure to allow content
+ selection (#636).
+
* Fix failure to encode 3D from separate content
in some cases (from 1.x) (#634).
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index b3880da57..32ca3e494 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -429,7 +429,7 @@ ContentPanel::set_selection (weak_ptr<Content> wc)
if (content[i] == wc.lock ()) {
_content->SetItemState (i, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
} else {
- _content->SetItemState (i, 0, wxLIST_STATE_SELECTED | wxLIST_STATE_FOCUSED);
+ _content->SetItemState (i, 0, wxLIST_STATE_SELECTED);
}
}
}