Fix needed to get f98f63fa5 working (PR was based on some older code)
This commit is contained in:
@@ -487,7 +487,7 @@ void MdiChild::modelEdit()
|
||||
|
||||
void MdiChild::modelDuplicate()
|
||||
{
|
||||
int srcModelIndex = getCurrentRow();
|
||||
int srcModelIndex = getCurrentModel();
|
||||
if (srcModelIndex < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user