| 884 | } |
| 885 | |
| 886 | void UniversalLocator::updateSwitchRunTargetTable() { |
| 887 | mLocateTable->setModel( |
| 888 | openRunTargetModel( mLocateInput->getText().substr( 4 ).trim().toUtf8() ) ); |
| 889 | if ( mLocateTable->getModel()->hasChildren() && nullptr != mApp->getProjectBuildManager() ) { |
| 890 | ModelIndex idx = |
| 891 | mLocateTable->findRowWithText( mApp->getProjectBuildManager()->getConfig().runName ); |
| 892 | mLocateTable->getSelection().set( idx.isValid() ? idx |
| 893 | : mLocateTable->getModel()->index( 0 ) ); |
| 894 | } |
| 895 | mLocateTable->scrollToTop(); |
| 896 | mLocateTable->setColumnsVisible( { 0 } ); |
| 897 | } |
| 898 | |
| 899 | void UniversalLocator::showSwitchFileType() { |
| 900 | showBar(); |
nothing calls this directly
no test coverage detected