Debugger: Get module list rowcount stored vector

It's probably better to get the count from the list we actually want to
display.
This commit is contained in:
Ziemas authored and Ty committed 2026-10-30 13:55:56 -04:00
1 parent 2d252d4d01
commit 8701365bea
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ ModuleModel::ModuleModel(DebugInterface& cpu, QObject* parent)
int ModuleModel::rowCount(const QModelIndex&) const
{
return m_cpu.GetModuleList().size();
return m_modules.size();
}
int ModuleModel::columnCount(const QModelIndex&) const