Commit 64f56eea authored by Matthias Möller's avatar Matthias Möller
Browse files

abort if no side was found

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 85341917
......@@ -203,8 +203,10 @@ void HelpWidget::activateLink(const QUrl& _url)
//set tree to the right entry
//this is _slow_, so do not use it in function "linkActivated". in "linkActivated" the entry is already selected by the user
QModelIndex modelIndex = helpEngine_->contentWidget()->indexOf(_url);
if (modelIndex.isValid())
helpEngine_->contentWidget()->setCurrentIndex( modelIndex );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment