Changed hotkeys + orders.cpp compilation error fix.

develop
Mikhail Panov 2023-09-22 18:37:14 +03:00
parent 9c866d5134
commit a236722a75
2 changed files with 3 additions and 3 deletions

@ -129,14 +129,14 @@ function OrdersOverlay:init()
widgets.HotkeyLabel{
frame={t=1, l=30},
label='sort by type',
key='CUSTOM_CTRL_T',
key='CUSTOM_CTRL_J',
auto_width=true,
on_activate=do_sort_type,
},
widgets.HotkeyLabel{
frame={t=0, l=52},
label='sort by mat',
key='CUSTOM_CTRL_M',
key='CUSTOM_CTRL_T',
auto_width=true,
on_activate=do_sort_mat,
},

@ -1198,7 +1198,7 @@ static command_result orders_recheck_current_command(color_ostream & out)
{
if (game->main_interface.info.work_orders.conditions.open)
{
game->main_interface.info.work_orders.conditions.wq.status.active = false;
game->main_interface.info.work_orders.conditions.wq->status.bits.active = false;
}
else
{