Fix empty shortcuts list. Fixes #1032.

This commit is contained in:
Leonardo Zide
2026-08-23 22:03:24 -07:00
parent ab31c6544f
commit 720003b555
+1 -1
View File
@@ -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));