No, that’s not what happened...once filed in Bankruptcy court...all state court actions are stayed. County Judge has no authority...
(1) You're right, but
(2) even had the state court judge issued an injunction before the filing, there is a lot of caselaw saying that a state court cannot enjoin someone from filing bankruptcy, because the right to do so arises under federal law, and the Supremacy Clause therefore bars such injunctions.
http://www.businessinsider.com/detroit-bankruptcy-said-unconstitutional-2013-7