Skip to content

Commit

Permalink
Fix filter set properties are not applied
Browse files Browse the repository at this point in the history
This is a regression from when filter undo was added.
  • Loading branch information
bmatherly committed Jan 5, 2024
1 parent 7ff6dff commit 14f9cef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/models/attachedfiltersmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,6 @@ int AttachedFiltersModel::add(QmlMetadata *meta)
if (filter->is_valid() && !filter->get_int("_loader")) {
QmlMetadata *tmpMeta = MAIN.filterController()->metadataForService(filter);
insertRow = findInsertRow(meta);
filter->set(kNewFilterProperty, 1);
if (!meta->objectName().isEmpty())
filter->set(kShotcutFilterProperty, meta->objectName().toUtf8().constData());
filter->set_in_and_out(
Expand Down

0 comments on commit 14f9cef

Please sign in to comment.