mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 03:53:52 +00:00
Merge remote-tracking branch 'scrawl/book_scroll_fix'
This commit is contained in:
commit
08a5541e4d
1 changed files with 2 additions and 5 deletions
|
@ -160,11 +160,8 @@ namespace MWGui
|
||||||
// the "Take" button should not be visible.
|
// the "Take" button should not be visible.
|
||||||
// NOTE: the take button is "reset" when the window opens, so we can safely do the following
|
// NOTE: the take button is "reset" when the window opens, so we can safely do the following
|
||||||
// without screwing up future book windows
|
// without screwing up future book windows
|
||||||
if (mDragAndDrop->mDraggedFrom == this)
|
|
||||||
{
|
|
||||||
mWindowManager.getBookWindow()->setTakeButtonShow(false);
|
mWindowManager.getBookWindow()->setTakeButtonShow(false);
|
||||||
mWindowManager.getScrollWindow()->setTakeButtonShow(false);
|
mWindowManager.getScrollWindow()->setTakeButtonShow(false);
|
||||||
}
|
|
||||||
|
|
||||||
mDragAndDrop->mIsOnDragAndDrop = false;
|
mDragAndDrop->mIsOnDragAndDrop = false;
|
||||||
MyGUI::Gui::getInstance().destroyWidget(mDragAndDrop->mDraggedWidget);
|
MyGUI::Gui::getInstance().destroyWidget(mDragAndDrop->mDraggedWidget);
|
||||||
|
|
Loading…
Reference in a new issue