diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-15 15:31:08 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-16 15:32:04 +0100 | 
| commit | 8a0ce309c485e47a09e2fbc918d9653dc42c7fb2 (patch) | |
| tree | 2a245ef8e7004e029c9d1f0b253aed41755dab9b | |
| parent | aa3d6dd09fb2ecf4a5bf91536ca67b4f71b24613 (diff) | |
opentrack: fix condition always true in start_tracker()
| -rw-r--r-- | opentrack/main-window.cpp | 3 | 
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) | 
