It appears they did not wish to overturn the two U.S. Supreme Court cases that said that the Second Amendment restricted the federal government only, and not the states, but the court was ignoring the words in the 1886 Presser case that said---
quote--"It is undoubtedly true that all citizens capable of bearing arms constitute the reserved military force or reserve militia of the United States as well as of the states, and, in view of this prerogative of the general government, as well as of its general powers, the states cannot, even laying the constitutional provision in question out of view, prohibit the people from keeping and bearing arms, so as to deprive the United States of their rightful resource for maintaining the public security, and disable the people from performing their duty to the general government. But, as already stated, we think [116 U.S. 252, 266] it clear that the sections under consideration do not have this effect. "
Link to--- Presser v. State of Illinois, 116 U.S. 252 (1886)
I think the current Supreme Court would say that states have police powers that can restrict guns in some cases, but that the Village of Morton Grove could not prohibit possession of handguns.