1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:27:44 +00:00

Throw up some widgets on screen so we can see what they look like.

This commit is contained in:
Andreas Kling 2019-01-11 04:10:07 +01:00
parent e5e295052f
commit a3c39ea9d6
7 changed files with 62 additions and 8 deletions

View file

@ -60,7 +60,7 @@ void ListBox::mouseDownEvent(MouseEvent& event)
void ListBox::addItem(String&& item)
{
m_items.append(std::move(item));
m_items.append(move(item));
if (m_selectedIndex == -1)
m_selectedIndex = 0;
}