projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c53b9
)
Manually call selection_changed() after removing a screen (#2418).
author
Carl Hetherington
<cth@carlh.net>
Sun, 15 Jan 2023 22:10:04 +0000
(23:10 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 16 Jan 2023 12:46:04 +0000
(13:46 +0100)
This is called by the signal handler on Linux but not on Windows,
for some reason.
src/wx/screens_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/screens_panel.cc
b/src/wx/screens_panel.cc
index ad000d988772d5d85583f25b7976498c4b5d9dc4..e80323fd18e5d4f208f3765f04b84b97fcf04fc9 100644
(file)
--- a/
src/wx/screens_panel.cc
+++ b/
src/wx/screens_panel.cc
@@
-449,6
+449,10
@@
ScreensPanel::remove_screen_clicked ()
_targets->DeleteItem(*item);
}
+ /* This is called by the signal on Linux, but not it seems on Windows, so we call it ourselves
+ * as well.
+ */
+ selection_changed();
notify_cinemas_changed();
}