It was my first impression too. I thought it was a Viennese waltz but I didn't find anything.
G'schichten aus dem Wienerwald (Tales from the Vienna Woods), the transition from the first waltz to the second. About 4:05 to 4:25 in this youtube version: .
Pages 19 and 20 of the score at IMSLP: https://imslp.org/wiki/G'schichten_aus_dem_Wienerwald,_Op.325_(Strauss_Jr.,_Johann)