Skip to content

Commit

Permalink
dlvdebugger: gotoFileByIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
visualfc committed Feb 13, 2023
1 parent 1f1b22d commit 7f1bead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liteidex/src/plugins/dlvdebugger/dlvrpcdebugger.cpp
Expand Up @@ -397,8 +397,8 @@ void DlvRpcDebugger::removeAllWatch()

void DlvRpcDebugger::gotoFileByIndex(const QStandardItemModel *model, QModelIndex index, int ifile, int iline)
{
QVariant file = index.siblingAtColumn(ifile).data();
QVariant line = index.siblingAtColumn(iline).data();
QVariant file = index.sibling(index.row(),ifile).data();
QVariant line = index.sibling(index.row(),iline).data();
if( !file.isValid() || !line.isValid() ) {
return;
}
Expand Down

0 comments on commit 7f1bead

Please sign in to comment.