Commit a17cf2ad 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 e525143c
......@@ -1068,7 +1068,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