mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix reported bugs handling - add icon to help menu, save unread updates
This commit is contained in:
@@ -270,6 +270,7 @@ MainWindow::MainWindow(ICaptureContext &ctx) : QMainWindow(NULL), ui(new Ui::Mai
|
||||
break;
|
||||
}
|
||||
}
|
||||
m_Ctx.Config().Save();
|
||||
PopulateReportedBugs();
|
||||
}
|
||||
});
|
||||
@@ -1158,14 +1159,12 @@ void MainWindow::PopulateReportedBugs()
|
||||
|
||||
if(unread)
|
||||
{
|
||||
if(!m_Ctx.Config().CheckUpdate_UpdateAvailable)
|
||||
ui->menu_Help->setIcon(Icons::bug());
|
||||
ui->menu_Help->setIcon(Icons::bug());
|
||||
ui->menu_Reported_Bugs->setIcon(Icons::bug());
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!m_Ctx.Config().CheckUpdate_UpdateAvailable)
|
||||
ui->menu_Help->setIcon(QIcon());
|
||||
ui->menu_Help->setIcon(QIcon());
|
||||
ui->menu_Reported_Bugs->setIcon(QIcon());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user