forked from qt-creator/qt-creator
Git: Fix initial focus in LogChangeDialog
Make it possible to use the cursor keys without having to click into the list first. Change-Id: I47861a5a1df7cbfe65a020299b0455e5833492d5 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
bf53fc292d
commit
86a5f81414
@@ -96,6 +96,7 @@ LogChangeWidget::LogChangeWidget(QWidget *parent)
|
||||
setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
setActivationMode(Utils::DoubleClickActivation);
|
||||
connect(this, &LogChangeWidget::activated, this, &LogChangeWidget::emitCommitActivated);
|
||||
setFocus();
|
||||
}
|
||||
|
||||
bool LogChangeWidget::init(const QString &repository, const QString &commit, LogFlags flags)
|
||||
|
||||
Reference in New Issue
Block a user