Capital gains in one state when residing in another.

I live in New York and had some farm land in Indiana. In 2023, I sold the land in Indiana, and thus paid a capital gains tax on my federal return and the Indiana return (nonresident).

 

I completed the Indiana tax forms first and included the capital gains on the Indiana tax.

 

When I started the New York taxes, TT asked how much of each income source was taxed in Indiana. In the page that showed the capital gains, the New York Total was $123,456 (which TT is taking from the federal form) and the Portion Taxed by Indiana was $123,456. The question asked whether the Indiana amount was correct, which it was. Therefore, I left the Amount if Different box empty. Is this correct?

 

Yet, the New York line for gains (Line 7 on form IT-201) still shows $123,456.

 

Is this a bug, or am I doing something wrong?

 

Thanks.