~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/gui/widgets/popuplist.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-05-18 21:06:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130518210629-3trtowluum0tekob
Tags: 1.3.5.12-1
[ Andrei Karas ]
* Add new files to copyright file.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
    mListBox->setWidth(getWidth() - pad2);
124
124
}
125
125
 
126
 
void PopupList::mousePressed(gcn::MouseEvent& mouseEvent A_UNUSED)
 
126
void PopupList::mousePressed(gcn::MouseEvent& mouseEvent)
127
127
{
 
128
    if (mouseEvent.getSource() == mScrollArea)
 
129
        return;
128
130
    if (mDropDown)
129
131
        mDropDown->updateSelection();
130
132
    setVisible(false);