diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-20 22:21:38 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-22 23:26:27 +0000 |
| commit | 6349c88c4fb9d4ac76ef14b277d455e3a2b006a6 (patch) | |
| tree | d309b4d8f4da844a4fbd1bb7c0d944271db46388 /src/wx/content_view.cc | |
| parent | 8872a0a0028048e277a623fa08e8242dd43f4824 (diff) | |
Separate Controls into standard/swaroop.
Diffstat (limited to 'src/wx/content_view.cc')
| -rw-r--r-- | src/wx/content_view.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/content_view.cc b/src/wx/content_view.cc index f2117fc20..51473cb86 100644 --- a/src/wx/content_view.cc +++ b/src/wx/content_view.cc @@ -171,5 +171,10 @@ ContentView::get (string digest) const void ContentView::set_film (weak_ptr<Film> film) { + if (_film.lock() == film.lock()) { + return; + } + _film = film; + update (); } |
