mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +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
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ void ClipboardHistoryModel::add_item(const GUI::Clipboard::DataAndType& item)
|
||||||
void ClipboardHistoryModel::remove_item(int index)
|
void ClipboardHistoryModel::remove_item(int index)
|
||||||
{
|
{
|
||||||
m_history_items.remove(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)
|
void ClipboardHistoryModel::config_string_did_change(DeprecatedString const& domain, DeprecatedString const& group, DeprecatedString const& key, DeprecatedString const& value_string)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue