Skip to content

Commit

Permalink
feat: append filename also on combo select
Browse files Browse the repository at this point in the history
  • Loading branch information
shunf4 committed Sep 2, 2024
1 parent 2dbb212 commit abb4a99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CPP/7zip/UI/FileManager/CopyDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ bool CCopyDialog::OnCommand(unsigned code, unsigned itemID, LPARAM lParam)
{
UString strPath;
_path.GetText(strPath);
if (isActuallyAppendingFilename) {
OnButtonAddFileName();
}

ShowPathFreeSpace(strPath);
return true;
Expand All @@ -398,6 +401,9 @@ bool CCopyDialog::OnCommand(unsigned code, unsigned itemID, LPARAM lParam)
{
UString strPath;
_path.GetLBText(nSel, strPath);
if (isActuallyAppendingFilename) {
OnButtonAddFileName();
}
ShowPathFreeSpace(strPath);
}
return true;
Expand Down

0 comments on commit abb4a99

Please sign in to comment.