mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
QProcessInfoWidget: give focus to the program line edit.
This commit is contained in:
@@ -57,6 +57,9 @@ QProcessInfoWidget::QProcessInfoWidget (QWidget* parent) : QWidget(parent) {
|
||||
QObject::connect(refreshToolButton, &QToolButton::clicked, this, &QProcessInfoWidget::refreshList);
|
||||
QObject::connect(processTreeWidget, &QTreeWidget::itemDoubleClicked, this, &QProcessInfoWidget::handleDoubleClicked);
|
||||
|
||||
// Give focus to the program line edit.
|
||||
programNameLineEdit->setFocus(Qt::OtherFocusReason);
|
||||
|
||||
// Load the initial process list.
|
||||
refreshList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user