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:
parent
e5e295052f
commit
a3c39ea9d6
7 changed files with 62 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue