| 787 | } |
| 788 | |
| 789 | void UniversalLocator::updateSwitchBuildTable() { |
| 790 | mLocateTable->setModel( openBuildModel( mLocateInput->getText().substr( 3 ).trim().toUtf8() ) ); |
| 791 | if ( mLocateTable->getModel()->hasChildren() ) { |
| 792 | ModelIndex idx = |
| 793 | mLocateTable->findRowWithText( mApp->getProjectBuildManager()->getConfig().buildName ); |
| 794 | mLocateTable->getSelection().set( idx.isValid() ? idx |
| 795 | : mLocateTable->getModel()->index( 0 ) ); |
| 796 | } |
| 797 | mLocateTable->scrollToTop(); |
| 798 | } |
| 799 | |
| 800 | void UniversalLocator::showSwitchBuildType() { |
| 801 | showBar(); |
nothing calls this directly
no test coverage detected