Kaydet (Commit) ac4b051e authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Check the empty set state after launching.

Sometimes we get empty set especially when all rows are filtered out.
üst 833567fa
......@@ -1220,6 +1220,10 @@ void ScCheckListMenuWindow::getResult(ResultType& rResult)
void ScCheckListMenuWindow::launch(const Rectangle& rRect)
{
packWindow();
if (!maConfig.mbAllowEmptySet)
// We need to have at least one member selected.
maBtnOk.Enable(maChecks.GetCheckedEntryCount() != 0);
StartPopupMode(rRect, (FLOATWIN_POPUPMODE_DOWN | FLOATWIN_POPUPMODE_GRABFOCUS));
}
......
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