/*******************************************************************/\r
void ListManagerView::updateActions()\r
{\r
+ /*\r
bool hasSelection = !this->selectionModel()->selection().isEmpty();\r
+ removeRowAction->setEnabled(hasSelection);\r
+ removeColumnAction->setEnabled(hasSelection);\r
\r
+ bool hasCurrent = this->selectionModel()->currentIndex().isValid();\r
+ insertRowAction->setEnabled(hasCurrent);\r
+ insertColumnAction->setEnabled(hasCurrent);\r
+\r
+ if (hasCurrent)\r
+ {\r
+ this->closePersistentEditor(view->selectionModel()->currentIndex());\r
+\r
+ int row = this->selectionModel()->currentIndex().row();\r
+ int column = this->selectionModel()->currentIndex().column();\r
+ if (this->selectionModel()->currentIndex().parent().isValid())\r
+ statusBar()->showMessage(tr("Position: (%1,%2)").arg(row).arg(column));\r
+ else\r
+ statusBar()->showMessage(tr("Position: (%1,%2) in top level").arg(row).arg(column));\r
+ }\r
+ */\r
}\r