diff options
Diffstat (limited to 'tools/assistant/tools/assistant/remotecontrol.cpp')
-rw-r--r-- | tools/assistant/tools/assistant/remotecontrol.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/assistant/tools/assistant/remotecontrol.cpp b/tools/assistant/tools/assistant/remotecontrol.cpp index be1c1976e6..474a6810c3 100644 --- a/tools/assistant/tools/assistant/remotecontrol.cpp +++ b/tools/assistant/tools/assistant/remotecontrol.cpp @@ -237,6 +237,8 @@ void RemoteControl::handleCommandString(const QString &cmdString) else m_mainWindow->expandTOC(depth); } else if (cmd == QLatin1String("setcurrentfilter")) { + if (!m_helpEngine->customFilters().contains(arg)) + return; if (m_caching) { clearCache(); m_currentFilter = arg; |