Skip to content

Commit

Permalink
Fix debug temperature input
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored Nov 15, 2024
1 parent 48f592d commit cd8ed10
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/debug_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3222,7 +3222,6 @@ static void debug_menu_force_temperature()
int ret = pop.title( string_format( _( "Set temperature to? [%s]" ), unit ) )
.width( 20 )
.text( current ? std::to_string( *current ) : "" )
.only_digits( true )
.query_int();

return pop.canceled() ? current : std::optional<float>( static_cast<float>( ret ) );
Expand Down

0 comments on commit cd8ed10

Please sign in to comment.