aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2020-08-18 17:12:22 -0400
committerJohn Thacker <johnthacker@gmail.com>2020-08-25 08:20:58 -0400
commit847d3949c977a39c3cea15a214af02671ccd21e9 (patch)
tree6f07b508cb599cebbc1720fc3c00618c3905996c /ui
parent4f61542fc38c5c6a93356aea3c40aa12f7c3dd76 (diff)
Apply Decode As induced protocol preference changes
Make sure that pending protocol preference changes caused by Decode As have been fully applied before redissection. Prevents referencing already freed memory Closes #16787. Also close #10305
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/models/decode_as_model.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/models/decode_as_model.cpp b/ui/qt/models/decode_as_model.cpp
index f525e3567a..4a2049e36b 100644
--- a/ui/qt/models/decode_as_model.cpp
+++ b/ui/qt/models/decode_as_model.cpp
@@ -810,6 +810,7 @@ void DecodeAsModel::applyChanges()
}
}
}
+ prefs_apply_all();
}
/* * Editor modelines