From 8a0ce309c485e47a09e2fbc918d9653dc42c7fb2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 15 Dec 2021 15:31:08 +0100 Subject: opentrack: fix condition always true in start_tracker() --- opentrack/main-window.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'opentrack') diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp index d4587831..d16e7854 100644 --- a/opentrack/main-window.cpp +++ b/opentrack/main-window.cpp @@ -418,8 +418,7 @@ void main_window::start_tracker_() { // XXX TODO other module types auto* tracker = &*work->libs.pTracker; - if (tracker) - options_widget->register_tracker(tracker); + options_widget->register_tracker(tracker); } if (pFilterDialog) -- cgit v1.2.3