Skip to content

Commit

Permalink
Default current view in buffer viewer to VS In.
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed May 19, 2017
1 parent 9b41534 commit ec4899e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qrenderdoc/Windows/BufferViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,8 @@ BufferViewer::BufferViewer(ICaptureContext &ctx, bool meshview, QWidget *parent)
QObject::connect(ui->gsoutData->selectionModel(), &QItemSelectionModel::selectionChanged, this,
&BufferViewer::data_selected);

m_CurView = ui->vsinData;

QObject::connect(ui->vsinData, &RDTableView::clicked, [this]() { m_CurView = ui->vsinData; });
QObject::connect(ui->vsoutData, &RDTableView::clicked, [this]() { m_CurView = ui->vsoutData; });
QObject::connect(ui->gsoutData, &RDTableView::clicked, [this]() { m_CurView = ui->gsoutData; });
Expand Down

0 comments on commit ec4899e

Please sign in to comment.