From d89dbde94087ff9101ad81efd5a550fea8d7cebe Mon Sep 17 00:00:00 2001 From: riothamus Date: Thu, 16 May 2013 14:05:22 -0400 Subject: [PATCH] Bug 752, spacing fix --- apps/openmw/mwgui/countdialog.cpp | 6 +++--- apps/openmw/mwgui/countdialog.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/openmw/mwgui/countdialog.cpp b/apps/openmw/mwgui/countdialog.cpp index 912bb9276d..354de561d9 100644 --- a/apps/openmw/mwgui/countdialog.cpp +++ b/apps/openmw/mwgui/countdialog.cpp @@ -18,8 +18,8 @@ namespace MWGui mOkButton->eventMouseButtonClick += MyGUI::newDelegate(this, &CountDialog::onOkButtonClicked); mItemEdit->eventEditTextChange += MyGUI::newDelegate(this, &CountDialog::onEditTextChange); mSlider->eventScrollChangePosition += MyGUI::newDelegate(this, &CountDialog::onSliderMoved); - // make sure we read the enter key being pressed to accept multiple items - mItemEdit->eventEditSelectAccept += MyGUI::newDelegate(this, &CountDialog::onEnterKeyPressed); + // make sure we read the enter key being pressed to accept multiple items + mItemEdit->eventEditSelectAccept += MyGUI::newDelegate(this, &CountDialog::onEnterKeyPressed); } void CountDialog::open(const std::string& item, const std::string& message, const int maxCount) @@ -64,7 +64,7 @@ namespace MWGui { eventOkClicked(NULL, mSlider->getScrollPosition()+1); - setVisible(false); + setVisible(false); } void CountDialog::onEditTextChange(MyGUI::EditBox* _sender) diff --git a/apps/openmw/mwgui/countdialog.hpp b/apps/openmw/mwgui/countdialog.hpp index f7ebfd8984..82a833bb7d 100644 --- a/apps/openmw/mwgui/countdialog.hpp +++ b/apps/openmw/mwgui/countdialog.hpp @@ -30,7 +30,7 @@ namespace MWGui void onOkButtonClicked(MyGUI::Widget* _sender); void onEditTextChange(MyGUI::EditBox* _sender); void onSliderMoved(MyGUI::ScrollBar* _sender, size_t _position); - void onEnterKeyPressed(MyGUI::EditBox* _sender); + void onEnterKeyPressed(MyGUI::EditBox* _sender); }; }