summaryrefslogtreecommitdiff
path: root/plugingui/combobox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/combobox.cc')
-rw-r--r--plugingui/combobox.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/combobox.cc b/plugingui/combobox.cc
index ffbde88..82fc6d1 100644
--- a/plugingui/combobox.cc
+++ b/plugingui/combobox.cc
@@ -65,13 +65,13 @@ void ComboBox::addItem(std::string name, std::string value)
void ComboBox::clear()
{
listbox.clear();
- repaintEvent(nullptr);
+ redraw();
}
bool ComboBox::selectItem(int index)
{
listbox.selectItem(index);
- repaintEvent(nullptr);
+ redraw();
return true;
}
@@ -143,7 +143,7 @@ void ComboBox::scrollEvent(ScrollEvent* scrollEvent)
{
scroll_offset = (items.size() - 1);
}
- repaintEvent(nullptr);
+ redraw();
*/
}
@@ -203,7 +203,7 @@ void ComboBox::keyEvent(KeyEvent* keyEvent)
break;
}
- repaintEvent(nullptr);
+ redraw();
*/
}