If no selection is made on the 'Selected branches' dialog, then the output is the same as the 'All branches' report. That is not really an error, and is not desirable for future reports, so remove it.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -1808,9 +1808,6 @@ class ReportDialogBase(QDialog): · 1807 unmodified lines | |||
| 1808 | vars.where_clause = " AND ( " + vars.where_clause + " ) " | 1808 | vars.where_clause = " AND ( " + vars.where_clause + " ) " |
| 1809 | else: | 1809 | else: |
| 1810 | vars.where_clause = " WHERE " + vars.where_clause + " " | 1810 | vars.where_clause = " WHERE " + vars.where_clause + " " |
| 1811 | else: | ||
| 1812 | self.ShowMessage("No selection") | ||
| 1813 | return | ||
| 1814 | self.accept() | 1811 | self.accept() |
| 1815 | 1812 | ||
| 1816 | def ShowMessage(self, msg): | 1813 | def ShowMessage(self, msg): |