From 6acafbe19084155ebd05ccbb70c6c62c90e974b4 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Mon, 11 Feb 2013 23:43:51 +0100 Subject: [PATCH] Ensure we have valid SCM status --- Frameworks/OakFilterList/src/FileChooser.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Frameworks/OakFilterList/src/FileChooser.mm b/Frameworks/OakFilterList/src/FileChooser.mm index 920cf9e8..ae140d4f 100644 --- a/Frameworks/OakFilterList/src/FileChooser.mm +++ b/Frameworks/OakFilterList/src/FileChooser.mm @@ -616,6 +616,9 @@ inline void rank_record (document_record_t& record, filter_string_t const& filte - (void)updateSCMStatus { + if(!_scmInfo) + return; + NSRange visibleRange = [_tableView rowsInRect:[_tableView visibleRect]]; for(NSUInteger row = visibleRange.location; row < NSMaxRange(visibleRange); ++row) {