mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 15:15:33 +00:00
Don't allow viewing non-existent cells from the regionmap.
This commit is contained in:
parent
094f046087
commit
7cdab41501
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue