summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2020-11-16 12:43:47 +0100
committerGitHub <noreply@github.com>2020-11-16 12:43:47 +0100
commit3de7e93a95420a3a6b88ebae03472a4224c71674 (patch)
treedcdba817595063fb617ec12770b5ab51aa10ae67 /src/mainwindow.cpp
parent5f7e2988cd91b5debef57c72e12d5a9c1050bce5 (diff)
parent67188a39cb6aa9d1cad172aec6aac9977af8e79a (diff)
Merge pull request #1291 from Qudix/tracking_integration
Add a toggle for tracking
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index b09e3dcc..4e78f5dd 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -4875,7 +4875,7 @@ void MainWindow::on_modList_customContextMenuRequested(const QPoint &pos)
}
}
- if (info->nexusId() > 0) {
+ if (info->nexusId() > 0 && Settings::instance().nexus().trackedIntegration()) {
switch (info->trackedState()) {
case TrackedState::TRACKED_FALSE: {
menu.addAction(tr("Start tracking"), this, SLOT(track_clicked()));