Don't allow viewing non-existent cells from the regionmap.

loadfix
cc9cii 10 years ago
parent 094f046087
commit 7cdab41501

@ -61,7 +61,7 @@ void CSVWorld::RegionMap::contextMenuEvent (QContextMenuEvent *event)
menu.addAction (mViewInTableAction);
}
if (selectionModel()->selectedIndexes().size()>0)
if (selectionModel()->selectedIndexes().size()>0 && selectedNonExistentCells!=1)
menu.addAction (mViewAction);
menu.exec (event->globalPos());

Loading…
Cancel
Save