List<QTreeWidgetItem> selections = notebookTree.selectedItems();
QTreeWidgetItem currentSelection;
currentSelection = selections.get(0);
edit.setNotebook(currentSelection.text(0));
String guid = currentSelection.text(2);
if (!guid.equalsIgnoreCase("STACK")) {
edit.setTitle(tr("Edit Notebook"));
edit.setNotebooks(listManager.getNotebookIndex());
edit.setLocalCheckboxEnabled(false);
for (int i=0; i<listManager.getNotebookIndex().size(); i++) {