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 b29f89cf16
commit 3929432c14

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();
} }
}, },