Fix needed to get f98f63fa5 working (PR was based on some older code)

This commit is contained in:
Damjan Adamic
2017-02-03 10:18:49 +01:00
parent f98f63fa55
commit 2b83160284
+1 -1
View File
@@ -487,7 +487,7 @@ void MdiChild::modelEdit()
void MdiChild::modelDuplicate()
{
int srcModelIndex = getCurrentRow();
int srcModelIndex = getCurrentModel();
if (srcModelIndex < 0) {
return;
}