Update inventory_ui.cpp

minor interface fix