Skip to content

Commit

Permalink
Do not drag-place stack into 'craftpreview' slot (#8514)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed May 25, 2019
1 parent b917ea4 commit 627a96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/guiFormSpecMenu.cpp
Expand Up @@ -3410,7 +3410,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
// Mouse has been moved and rmb is down and mouse pointer just
// entered a new inventory field (checked in the entry-if, this
// is the only action here that is generated by mouse movement)
if (m_selected_item && s.isValid()) {
if (m_selected_item && s.isValid() && s.listname != "craftpreview") {
// Move 1 item
// TODO: middle mouse to move 10 items might be handy
if (m_auto_place) {
Expand Down

0 comments on commit 627a96c

Please sign in to comment.