forked from qt-creator/qt-creator
Git: Remove wrong soft assertion
There is no restriction of renaming the current branch. Change-Id: I51f3f8d69d1fb108a23a9e9f98364361828531d3 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
ce15a0f447
commit
8278b4a24d
@@ -428,7 +428,6 @@ bool BranchView::remove()
|
||||
bool BranchView::rename()
|
||||
{
|
||||
const QModelIndex selected = selectedIndex();
|
||||
QTC_CHECK(selected != m_model->currentBranch());
|
||||
const bool isTag = m_model->isTag(selected);
|
||||
QTC_CHECK(m_model->isLocal(selected) || isTag);
|
||||
|
||||
|
Reference in New Issue
Block a user