Merge pull request #30576 from qarmin/lgtm_coverage

Changed some code reported by LGTM and Coverity
This commit is contained in:
Rémi Verschelde 2019-07-20 12:00:13 +02:00 committed by GitHub
commit d15cf7b672
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 94 additions and 202 deletions

View file

@ -965,8 +965,6 @@ void ProjectSettingsEditor::_action_add() {
while (r->get_next())
r = r->get_next();
if (!r)
return;
r->select(0);
input_editor->ensure_cursor_is_visible();
action_add_error->hide();