Fixes #1267
@ -181,6 +181,9 @@ struct dump_hook : public df::viewscreen_dwarfmodest
bool handleInput(set<df::interface_key> *input)
{
if (Gui::inRenameBuilding())
return false;
building_stockpilest *sp = get_selected_stockpile();
if (!sp)
@ -194,6 +194,9 @@ struct melt_hook : public df::viewscreen_dwarfmodest
@ -389,6 +389,9 @@ struct trade_hook : public df::viewscreen_dwarfmodest
@ -376,6 +376,9 @@ struct stockpiles_import_hook : public df::viewscreen_dwarfmodest
bool handleInput ( set<df::interface_key> *input )
if ( Gui::inRenameBuilding() )
df::building_stockpilest *sp = get_selected_stockpile();
if ( !sp )
@ -1451,6 +1451,9 @@ struct stocks_stockpile_hook : public df::viewscreen_dwarfmodest