Pinta.MainWindow.OnHistoryItemsChanged C# (CSharp) Method

OnHistoryItemsChanged() private method

private OnHistoryItemsChanged ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void
        private void OnHistoryItemsChanged(object o, EventArgs args)
        {
            if (PintaCore.History.Current != null) {
                history_treeview.Selection.SelectIter (PintaCore.History.Current.Id);
                history_treeview.ScrollToCell (history_treeview.Model.GetPath (PintaCore.History.Current.Id), history_treeview.Columns[1], true, (float)0.9, 0);
            }
        }