Fix showing errors
This commit is contained in:
parent
8202959cc8
commit
ee8657cd1d
|
@ -243,6 +243,7 @@ QVariant SyncthingDirectoryModel::data(const QModelIndex &index, int role) const
|
|||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ void DirView::mouseReleaseEvent(QMouseEvent *event)
|
|||
emit openDir(*dir);
|
||||
}
|
||||
}
|
||||
} else if (clickedIndex.row() == 7 && !dir->itemErrors.empty()) {
|
||||
} else if (clickedIndex.row() == 9 && !dir->itemErrors.empty()) {
|
||||
auto *const textViewDlg = TextViewDialog::forDirectoryErrors(*dir);
|
||||
textViewDlg->setAttribute(Qt::WA_DeleteOnClose);
|
||||
textViewDlg->show();
|
||||
|
|
Loading…
Reference in New Issue