Skip to content

Commit

Permalink
improve: select the item on raw pallete when using CTRL+F (#72)
Browse files Browse the repository at this point in the history
This will give you the possibility of selecting items in the raw palette
to place them on the map, instead of just searching for existing ones.
  • Loading branch information
lamonato29 authored Jun 3, 2024
1 parent 6c09718 commit e86141b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/find_item_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ void FindItemDialog::OnClickOK(wxCommandEvent &WXUNUSED(event)) {
result_brush = brush;
result_id = brush->asRaw()->getItemID();
EndModal(wxID_OK);
g_gui.SelectBrush(brush->asRaw(), TILESET_RAW);
}
}
}
Expand Down

0 comments on commit e86141b

Please sign in to comment.