D26620: Do not assume that list of documents is non-empty
noreply at phabricator.kde.org
Mon Jan 13 11:00:01 GMT 2020
tfry created this revision.
tfry added a reviewer: cullmann.
Herald added a project: Kate.
Herald added a subscriber: kwrite-devel.
tfry requested review of this revision.
Host applications may not always have an active view, and a non-empty list of documents. This would currently crash when clicking the "Search"-button with "Current File" or "Open Files".
Tested with plugin loaded in RKWard, and no documents present. Segfault without patch, no matches, with patch.
To: tfry, cullmann
Cc: kwrite-devel, rrosch, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel