Mercurial > hg > svcore
diff data/model/TabularModel.h @ 421:397fe91dc8e0
* Fix for data modification in data edit view... now why isn't the
command appearing on the undo menu?
author | Chris Cannam |
---|---|
date | Wed, 11 Jun 2008 17:00:04 +0000 |
parents | 50a956688baa |
children | 4caa28a0a8a2 |
line wrap: on
line diff
--- a/data/model/TabularModel.h Wed Jun 11 16:13:25 2008 +0000 +++ b/data/model/TabularModel.h Wed Jun 11 17:00:04 2008 +0000 @@ -46,8 +46,7 @@ virtual bool isColumnTimeValue(int col) const = 0; virtual bool isEditable() const { return false; } - virtual Command *setData(int row, int column, const QVariant &, int role) - { return 0; } + virtual Command *getSetDataCommand(int row, int column, const QVariant &, int role) const { return 0; } }; #endif