mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 18:46:18 +00:00
ClipboardHistory: Invalidate model on item removal
Not doing this caused the window to not update until the mouse was clicked again.
This commit is contained in:
parent
c1ee919add
commit
810c23b422
|
@ -126,6 +126,7 @@ void ClipboardHistoryModel::add_item(const GUI::Clipboard::DataAndType& item)
|
|||
void ClipboardHistoryModel::remove_item(int index)
|
||||
{
|
||||
m_history_items.remove(index);
|
||||
invalidate();
|
||||
}
|
||||
|
||||
void ClipboardHistoryModel::config_string_did_change(DeprecatedString const& domain, DeprecatedString const& group, DeprecatedString const& key, DeprecatedString const& value_string)
|
||||
|
|
Loading…
Reference in a new issue