Git: Give BranchAddDialog for tags a parent

Amends 0161729c23

Change-Id: Ie4f5a716e397661d281287a5ac352093cc220035
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2019-04-12 19:28:14 +02:00
committed by André Hartmann
parent 75696f9639
commit 0b58ad3a6c

View File

@@ -313,7 +313,7 @@ void GitEditorWidget::addChangeActions(QMenu *menu, const QString &change)
&output, &errorMessage); &output, &errorMessage);
const QStringList tags = output.split('\n'); const QStringList tags = output.split('\n');
BranchAddDialog dialog(tags, BranchAddDialog::Type::AddTag, nullptr); BranchAddDialog dialog(tags, BranchAddDialog::Type::AddTag, Core::ICore::dialogParent());
if (dialog.exec() == QDialog::Rejected) if (dialog.exec() == QDialog::Rejected)
return; return;