When init()ing QgsDualView through the attribute table it is
usually done BEFORE the model has been populated, so this code
has no effect and throws a warning.
There's no feature regression by removing this - the first
entry is still selected by default (elsewhere)