He is turning his coat according to the wind.
More Hungarian Proverbs:
Only those make no errors, who do not work at all.Hungarian
A sleeping fox catches no hare, chicken.
Hungarian
He stumbled upwards.
Hungarian
Truth is scraped out even by a hen.
Hungarian
He preaches water and drinks wine.
Hungarian
The midwife should have cut his throat rather than his navel.
Hungarian