Skip to content

Commit

Permalink
Upstream PR 2656, elfmz#2656
Browse files Browse the repository at this point in the history
  • Loading branch information
unxed committed Feb 12, 2025
1 parent 3dcea3d commit 2c4c4b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions far2l/src/setattr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ LONG_PTR WINAPI SetAttrDlgProc(HANDLE hDlg, int Msg, int Param1, LONG_PTR Param2
break;
case SA_COMBO_GROUP:
SetAttrDefaultMark(hDlg, SA_COMBO_GROUP-1, // mark (un)changed
IsEditChanged(hDlg, SA_COMBO_GROUP, DlgParam->strInitOwner) );
IsEditChanged(hDlg, SA_COMBO_GROUP, DlgParam->strInitGroup) );
break;
case SA_FIXEDIT_LAST_ACCESS_DATE:
SetAttrDefaultMark(hDlg, SA_FIXEDIT_LAST_ACCESS_DATE-1, // mark (un)changed
Expand Down Expand Up @@ -1651,7 +1651,7 @@ bool ShellSetFileAttributes(Panel *SrcPanel, LPCWSTR Object)
}
}

if (!ApplyFileOwnerGroupIfChanged(AttrDlg[SA_COMBO_GROUP], ESetFileOwner,
if (!ApplyFileOwnerGroupIfChanged(AttrDlg[SA_COMBO_OWNER], ESetFileOwner,
SkipMode, strFullName, DlgParam.strInitOwner,
DlgParam.OSubfoldersState))
break;
Expand Down Expand Up @@ -1700,8 +1700,8 @@ bool ShellSetFileAttributes(Panel *SrcPanel, LPCWSTR Object)
SkipMode = SETATTR_RET_SKIP;
continue;
}
ApplyFSFileFlags(AttrDlg, strFullName, FileAttr);
}
ApplyFSFileFlags(AttrDlg, strFullName, FileAttr);
}
}
}
Expand Down

0 comments on commit 2c4c4b3

Please sign in to comment.