diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-22 21:04:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-22 21:04:15 +0000 |
| commit | aa9d99923a11559e8a0bd320bc2bb13461033175 (patch) | |
| tree | edd9a9fe6f51d1ace854f9a6dfc89e834871fa7d /src | |
| parent | be8675cc978fbd52817943e88ea40b81f8a4c9c4 (diff) | |
Fix hang when removing screens.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/screens_panel.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/screens_panel.cc b/src/wx/screens_panel.cc index 3328fe61e..e45f036d2 100644 --- a/src/wx/screens_panel.cc +++ b/src/wx/screens_panel.cc @@ -271,6 +271,8 @@ ScreensPanel::remove_screen_clicked () if (find (sc.begin(), sc.end(), s.second) != sc.end ()) { break; } + + ++i; } if (i == _cinemas.end()) { |
