From 0b58ad3a6caa133000dbe9ddac8f9a0e94f1b60d Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Fri, 12 Apr 2019 19:28:14 +0200 Subject: [PATCH] Git: Give BranchAddDialog for tags a parent Amends 0161729c23 Change-Id: Ie4f5a716e397661d281287a5ac352093cc220035 Reviewed-by: Orgad Shaneh --- src/plugins/git/giteditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/git/giteditor.cpp b/src/plugins/git/giteditor.cpp index eb3abd51f3c..eee7dfaefaf 100644 --- a/src/plugins/git/giteditor.cpp +++ b/src/plugins/git/giteditor.cpp @@ -313,7 +313,7 @@ void GitEditorWidget::addChangeActions(QMenu *menu, const QString &change) &output, &errorMessage); 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) return;