mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 01:14:55 -06:00
feat: append filename also on combo select
This commit is contained in:
@@ -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;
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user