Changeset View
Changeset View
Standalone View
Standalone View
addons/project/kateprojectpluginview.cpp
Context not available. | |||||
19 | */ | 19 | */ | ||
---|---|---|---|---|---|
20 | 20 | | |||
21 | #include "kateprojectpluginview.h" | 21 | #include "kateprojectpluginview.h" | ||
22 | #include "kateprojectinfoviewindex.h" | ||||
22 | #include "fileutil.h" | 23 | #include "fileutil.h" | ||
23 | 24 | | |||
24 | #include <ktexteditor/editor.h> | 25 | #include <ktexteditor/editor.h> | ||
Context not available. | |||||
502 | if (!word.isEmpty()) { | 503 | if (!word.isEmpty()) { | ||
503 | auto tabView = qobject_cast<QTabWidget*>(m_stackedProjectInfoViews->currentWidget()); | 504 | auto tabView = qobject_cast<QTabWidget*>(m_stackedProjectInfoViews->currentWidget()); | ||
504 | if (tabView) { | 505 | if (tabView) { | ||
505 | tabView->setCurrentIndex(1); | 506 | if (auto codeIndex = tabView->findChild<KateProjectInfoViewIndex*>()) { | ||
507 | tabView->setCurrentWidget(codeIndex); | ||||
508 | } | ||||
506 | } | 509 | } | ||
507 | m_mainWindow->showToolView(m_toolInfoView); | 510 | m_mainWindow->showToolView(m_toolInfoView); | ||
508 | emit projectLookupWord(word); | 511 | emit projectLookupWord(word); | ||
Context not available. |