Clear the selection before creating the empty row.

Fixes empty rows not getting placeholder actions in some cases.
This commit is contained in:
nathangray 2018-06-20 09:40:13 -06:00
parent 1514883d75
commit 7b01dab757

View File

@ -231,8 +231,8 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
if(idx == 0) if(idx == 0)
{ {
// No rows, start with an empty // No rows, start with an empty
this._emptyRow();
this._selectionMgr.clear(); this._selectionMgr.clear();
this._emptyRow();
} }
}, },