summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/main-window.cpp')
-rw-r--r--opentrack/main-window.cpp3
1 files changed, 1 insertions, 2 deletions
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)