mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
filter: on show focus on fulltext-field
After pressing CTRL-F let the user immediately enter a search string. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2bd4c6f6ec
commit
3103ca89d9
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ void FilterWidget2::updatePlanned(int value)
|
|||
void FilterWidget2::showEvent(QShowEvent *event)
|
||||
{
|
||||
QWidget::showEvent(event);
|
||||
ui.fullText->setFocus();
|
||||
filterDataChanged(filterData);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue