Commit ac6c11ec authored by Tobias Hunger's avatar Tobias Hunger

Git: Simplify code a bit

Change-Id: Iac245c92039f522cc0a599461572f9fd54cf43ae
Reviewed-by: default avatarHugues Delorme <delorme.hugues@fougsys.fr>
parent 917517cd
......@@ -716,9 +716,7 @@ void GitPlugin::submitCurrentLog()
{
// Close the submit editor
m_submitActionTriggered = true;
QList<Core::IEditor*> editors;
editors.push_back(Core::EditorManager::currentEditor());
Core::ICore::editorManager()->closeEditors(editors);
Core::ICore::editorManager()->closeEditor();
}
bool GitPlugin::submitEditorAboutToClose(VcsBase::VcsBaseSubmitEditor *submitEditor)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment