diff options
author | SmallJoker <mk939@ymail.com> | 2019-05-25 17:37:54 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2019-05-25 17:41:35 +0200 |
commit | 627a96cd9994cd75d490149f6e4a646c6eee3a3c (patch) | |
tree | a579df6fbc4494bf34c1ffc8dffa712d321b3cb5 /src/gui | |
parent | b917ea4723fb0fe976486602a456c8dd41eab7ef (diff) | |
download | minetest-627a96cd9994cd75d490149f6e4a646c6eee3a3c.tar.gz minetest-627a96cd9994cd75d490149f6e4a646c6eee3a3c.tar.bz2 minetest-627a96cd9994cd75d490149f6e4a646c6eee3a3c.zip |
Do not drag-place stack into 'craftpreview' slot (#8514)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/guiFormSpecMenu.cpp | 2 |
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) { |