To spell out the actual argument: "although it may be true that morality cannot be legislated, behavior can be regulated. [...] Even though it may be true that the law cannot make a man love me, it can restrain him from lynching me."
Notice MLK is talking about specific legislature, and the poster above was talking about electing officials. They are correct that merely electing politicians is neither necessary nor sufficient--the laws must change.