Shader Debugger: Fix freeze when double-clicking shader disassembly
This commit is contained in:
parent
2d195ba64e
commit
c1beb2ce20
3 changed files with 4 additions and 14 deletions
|
@ -359,7 +359,7 @@ void GPUCommandListWidget::CopyAllToClipboard() {
|
|||
QClipboard* clipboard = QApplication::clipboard();
|
||||
QString text;
|
||||
|
||||
QAbstractItemModel* model = static_cast<QAbstractListModel*>(list_widget->model());
|
||||
QAbstractItemModel* model = static_cast<QAbstractItemModel*>(list_widget->model());
|
||||
|
||||
for (int row = 0; row < model->rowCount({}); ++row) {
|
||||
for (int col = 0; col < model->columnCount({}); ++col) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue