major 'firzifikation'
This commit is contained in:
@@ -127,8 +127,8 @@ void XQChildModel::initContextMenu()
|
||||
// __fixme! add a menu title
|
||||
_contextMenu->clear();
|
||||
|
||||
const QModelIndex& curIdx = _treeView->currentIndex();
|
||||
bool hasSel = curIdx.isValid() && _treeView->selectionModel()->hasSelection();
|
||||
const QModelIndex& curIdx = _treeTable->currentIndex();
|
||||
bool hasSel = curIdx.isValid() && _treeTable->selectionModel()->hasSelection();
|
||||
bool canPaste = _clipBoard.canPaste( curIdx );
|
||||
|
||||
_contextMenu->addAction( "icn11Dummy", "Undo", XQCommand::cmdUndo, _undoStack->canUndo() );
|
||||
|
Reference in New Issue
Block a user