Commit 6c74ef23 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Avoid duplicate check for modified files



Change-Id: I05e09434944706a61cc079c30d37309eea5019f5
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 50770813
......@@ -748,8 +748,6 @@ void GitPlugin::undoFileChanges(bool revertStaging)
void GitPlugin::undoUnstagedFileChanges()
{
if (!DocumentManager::saveAllModifiedDocuments())
return;
undoFileChanges(false);
}
......
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