forked from qt-creator/qt-creator
Git: Fix initial button enabling in Branches dialog
Change-Id: Iad99dd1468457b8de262ee16c4182ac9ff82e0b8 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
776df40000
commit
240d2dc4d4
@@ -101,6 +101,7 @@ BranchDialog::BranchDialog(QWidget *parent) :
|
|||||||
connect(m_model, &QAbstractItemModel::modelReset, this, &BranchDialog::expandAndResize);
|
connect(m_model, &QAbstractItemModel::modelReset, this, &BranchDialog::expandAndResize);
|
||||||
|
|
||||||
m_ui->branchView->selectionModel()->clear();
|
m_ui->branchView->selectionModel()->clear();
|
||||||
|
enableButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
BranchDialog::~BranchDialog()
|
BranchDialog::~BranchDialog()
|
||||||
|
Reference in New Issue
Block a user