mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
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:
1 parent
2d252d4d01
commit
8701365bea
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user