forked from qt-creator/qt-creator
Git: Enable local branch selection in Push to Gerrit
Show dialog even if there are no local commits in current branch Change-Id: I11e0c6505981712df51bb33694a6cba9704d7324 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
292e4599aa
commit
1ed9f6bbca
@@ -313,9 +313,6 @@ void GerritPlugin::push(const QString &topLevel)
|
||||
// QScopedPointer is required to delete the dialog when leaving the function
|
||||
GerritPushDialog dialog(topLevel, m_reviewers, ICore::mainWindow());
|
||||
|
||||
if (!dialog.localChangesFound())
|
||||
return;
|
||||
|
||||
if (!dialog.valid()) {
|
||||
QMessageBox::warning(ICore::mainWindow(), tr("Initialization Failed"),
|
||||
tr("Failed to initialize dialog. Aborting."));
|
||||
|
||||
Reference in New Issue
Block a user