Minor issue, but it happens to me all the time, because I use smart inserters -> chests for all production chains.
If you click on a smart inserter, choose an item to perform conditional test on (e.g. rail track), then set a number (activate smart inserter if railtrack<500), and use the 'E' key to close the dialog instead of clicking the 'SET' button, the change to your number is not saved (it goes back to 0).
This may not be a "bug" per se, as there is indeed a "SET" button, but the behavior is not consistent with many other number entry fields in the game that I have found. e.g. you can change logistic request numbers in your inventory or change requester chest amounts and hit 'E' to close their respective dialogs and it will save the number that you entered.
(minor) E key to close smartinserter dialog drops number
Re: (minor) E key to close smartinserter dialog drops number
Thanks for the report,
This is intentional, so that the smart inserter doesn't start working until you confirm its condition
This is intentional, so that the smart inserter doesn't start working until you confirm its condition