diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 05:56:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 05:56:45 +0300 |
commit | 8b11b8b3cf470c4610a2de9a9deee0b81516727b (patch) | |
tree | 22c70ccf0ad4c17a9572ace5194262a360fc25c7 /source/blender | |
parent | bdefce0b213b5b032376c58bf7bcbb0af886ded3 (diff) |
Fix shift-click to select multiple reports
D4751 by @Poulpator
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_info/info_report.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/info_report.c b/source/blender/editors/space_info/info_report.c index f7499313a4a..4c00512d838 100644 --- a/source/blender/editors/space_info/info_report.c +++ b/source/blender/editors/space_info/info_report.c @@ -194,9 +194,11 @@ void INFO_OT_select_pick(wmOperatorType *ot) /* ot->flag = OPTYPE_REGISTER; */ /* properties */ + PropertyRNA *prop; RNA_def_int( ot->srna, "report_index", 0, 0, INT_MAX, "Report", "Index of the report", 0, INT_MAX); - RNA_def_boolean(ot->srna, "extend", false, "Extend", "Extend report selection"); + prop = RNA_def_boolean(ot->srna, "extend", false, "Extend", "Extend report selection"); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); } static int report_select_all_exec(bContext *C, wmOperator *op) |