diff options
Diffstat (limited to 'src/wx/controls.h')
| -rw-r--r-- | src/wx/controls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/controls.h b/src/wx/controls.h index 9a22d7709..377960425 100644 --- a/src/wx/controls.h +++ b/src/wx/controls.h @@ -79,7 +79,7 @@ protected: wxBoxSizer* _button_sizer; std::shared_ptr<Film> _film; wxSlider* _slider; - std::shared_ptr<FilmViewer> _viewer; + std::weak_ptr<FilmViewer> _viewer; boost::optional<std::string> _active_job; private: |
