projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cddc9c
)
Fix weird placement of SetSortColumn() call causing strange assertion failure in...
author
Carl Hetherington
<cth@carlh.net>
Sun, 13 Mar 2022 20:04:02 +0000
(21:04 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 17 Mar 2022 21:20:04 +0000
(22:20 +0100)
src/wx/screens_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/screens_panel.cc
b/src/wx/screens_panel.cc
index 925784cafa0f41baa3e2a12de9270955a86565aa..02ef2f62cf396b4f2f8ef2e606088e51461ef3ca 100644
(file)
--- a/
src/wx/screens_panel.cc
+++ b/
src/wx/screens_panel.cc
@@
-57,6
+57,8
@@
ScreensPanel::ScreensPanel (wxWindow* parent)
auto targets = new wxBoxSizer (wxHORIZONTAL);
_targets = new TreeListCtrl (this);
_targets->AppendColumn (wxT("foo"));
+ _targets->SetSortColumn (0);
+
targets->Add (_targets, 1, wxEXPAND | wxRIGHT, DCPOMATIC_SIZER_GAP);
add_cinemas ();
@@
-140,8
+142,6
@@
ScreensPanel::add_cinema (shared_ptr<Cinema> cinema)
add_screen (cinema, screen);
}
- _targets->SetSortColumn (0);
-
return id;
}