|
|
|
@ -66,8 +66,9 @@ void ConfigureHotkeys::Populate(const HotkeyRegistry& registry) { |
|
|
|
} |
|
|
|
|
|
|
|
void ConfigureHotkeys::Configure(QModelIndex index) { |
|
|
|
if (index.parent() == QModelIndex()) |
|
|
|
if (!index.parent().isValid()) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
index = index.sibling(index.row(), 1); |
|
|
|
auto* model = ui->hotkey_list->model(); |
|
|
|
|