mirror of
https://github.com/leozide/leocad.git
synced 2026-09-11 09:04:06 +00:00
Fix empty shortcuts list. Fixes #1032.
This commit is contained in:
@@ -1026,7 +1026,7 @@ void lcPreferencesDialog::UpdateCommandList()
|
||||
else
|
||||
SubSection = Section;
|
||||
|
||||
if (parent())
|
||||
if (Parent)
|
||||
CategoryItem = new QTreeWidgetItem(Parent, QStringList(SubSection));
|
||||
else
|
||||
CategoryItem = new QTreeWidgetItem(ui->commandList, QStringList(SubSection));
|
||||
|
||||
Reference in New Issue
Block a user