Skip to content

Commit

Permalink
Merge pull request mcmilk#159 from jinfeihan57/Bug#144
Browse files Browse the repository at this point in the history
fix Bug mcmilk#144
  • Loading branch information
mcmilk authored Dec 6, 2020
2 parents 4971d78 + 3f7481f commit 8672122
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CPP/7zip/UI/GUI/CompressDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,7 @@ bool CCompressDialog::OnCommand(int code, int itemID, LPARAM lParam)
fo.ResetForLevelChange();
}

SetLevel();
SetDictionary();
SetOrder();
SetSolidBlockSize();
Expand Down Expand Up @@ -1223,6 +1224,7 @@ static LRESULT ComboBox_AddStringAscii(NControl::CComboBox &cb, const char *s)

void CCompressDialog::SetMethod(int keepMethodId)
{
/*
UInt32 level = GetLevel2();
int mID = GetMethodID();
static int mID_old = 0;
Expand All @@ -1238,6 +1240,7 @@ void CCompressDialog::SetMethod(int keepMethodId)
SetOrder();
return;
}
*/
const CFormatInfo &fi = g_Formats[GetStaticFormatIndex()];
const CArcInfoEx &ai = (*ArcFormats)[GetFormatIndex()];
int index = FindRegistryFormat(ai.Name);
Expand Down

0 comments on commit 8672122

Please sign in to comment.