Fix copy custom attributes menu.

This commit is contained in:
Florian Geyer 2014-10-09 21:36:08 +02:00
parent 72b59d541a
commit f1aa6aca26

View File

@ -232,7 +232,7 @@ void MainWindow::updateCopyAttributesMenu()
}
QList<QAction*> actions = m_ui->menuEntryCopyAttribute->actions();
for (int i = m_countDefaultAttributes + 1; i < actions.size(); i++) {
for (int i = m_countDefaultAttributes; i < actions.size(); i++) {
delete actions[i];
}