Verified Commit 7447fae5 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix untracked selection unable to stage


Signed-off-by: Waqar Ahmed's avatarWaqar Ahmed <waqar.17a@gmail.com>
parent 3d0d5832
......@@ -1084,7 +1084,7 @@ void GitWidget::selectedContextMenu(QContextMenuEvent *e)
}
if (execAct == stageAct) {
if (selectionHasChangedItems) {
if (selectionHasChangedItems || selectionHasUntrackedItems) {
stage(files);
} else {
unstage(files);
......
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