summaryrefslogtreecommitdiff
path: root/src/gui/guiFormSpecMenu.cpp
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2019-05-25 17:37:54 +0200
committerSmallJoker <mk939@ymail.com>2019-05-25 17:41:35 +0200
commit627a96cd9994cd75d490149f6e4a646c6eee3a3c (patch)
treea579df6fbc4494bf34c1ffc8dffa712d321b3cb5 /src/gui/guiFormSpecMenu.cpp
parentb917ea4723fb0fe976486602a456c8dd41eab7ef (diff)
downloadminetest-627a96cd9994cd75d490149f6e4a646c6eee3a3c.tar.gz
minetest-627a96cd9994cd75d490149f6e4a646c6eee3a3c.tar.bz2
minetest-627a96cd9994cd75d490149f6e4a646c6eee3a3c.zip
Do not drag-place stack into 'craftpreview' slot (#8514)
Diffstat (limited to 'src/gui/guiFormSpecMenu.cpp')
-rw-r--r--src/gui/guiFormSpecMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp
index e2aed420c..0514ffbbe 100644
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/src/gui/guiFormSpecMenu.cpp
@@ -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) {