summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--variant/default/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 84b89290..a223c32f 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -281,7 +281,7 @@ bool main_window::profile_name_from_dialog(QString& ret)
main_window::~main_window()
{
// stupid ps3 eye has LED issues
- if (work)
+ if (work && ui.video_frame->layout())
{
hide();
stop_tracker_();