Fix invalid input report

This commit is contained in:
Michal Horejsek
2021-01-12 15:37:13 +01:00
parent 1909ceed67
commit 2feaba8888
4 changed files with 39 additions and 10 deletions

View File

@ -311,6 +311,9 @@ func (f *FrontendQt) sendBug(description, emailClient, address string) bool {
if f.Accounts.Model.Count() > 0 {
accname = f.Accounts.Model.Get(0).Account()
}
if accname == "" {
accname = "Unknown account"
}
if err := f.ie.ReportBug(
core.QSysInfo_ProductType(),