Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 125:e4635503a6d2
* Add more data-editor support to various models
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2008 14:33:45 +0000 |
parents | bfa6b0582acb |
children | d615d0220828 |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Wed Jun 11 16:13:25 2008 +0000 +++ b/framework/MainWindowBase.cpp Thu Jun 12 14:33:45 2008 +0000 @@ -1950,8 +1950,9 @@ return; } - ModelDataTableDialog *dialog = new ModelDataTableDialog(tabular); -// dialog->setAttribute(Qt::WA_DeleteOnClose); //!!! how to manage this? + QString title = layer->getLayerPresentationName(); + + ModelDataTableDialog *dialog = new ModelDataTableDialog(tabular, title, this); connect(m_viewManager, SIGNAL(globalCentreFrameChanged(unsigned long)),