mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 09:23:53 +00:00
Deleted records can be cloned
This commit is contained in:
parent
9d274ee156
commit
e4d52ff9b0
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ void CSVWorld::Table::cloneRecord()
|
|||
{
|
||||
QModelIndexList selectedRows = selectionModel()->selectedRows();
|
||||
const CSMWorld::UniversalId& toClone = getUniversalId(selectedRows.begin()->row());
|
||||
if (selectedRows.size()==1 && !mModel->isDeleted (toClone.getId()))
|
||||
if (selectedRows.size() == 1)
|
||||
{
|
||||
emit cloneRequest (toClone);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue