Find shortcut activated
| 3822 | |
| 3823 | // Find shortcut activated |
| 3824 | void NBrowserWindow::findShortcut() { |
| 3825 | if (!findReplace->isVisible()) { |
| 3826 | findReplace->showFind(); |
| 3827 | } else { |
| 3828 | if (findReplace->findLine->hasFocus()) |
| 3829 | findReplace->hide(); |
| 3830 | else { |
| 3831 | findReplace->showFind(); |
| 3832 | findReplace->findLine->setFocus(); |
| 3833 | findReplace->findLine->selectAll(); |
| 3834 | } |
| 3835 | } |
| 3836 | |
| 3837 | } |
| 3838 | |
| 3839 | |
| 3840 | //******************************************* |