Merge branch 'ankitects:main' into main

This commit is contained in:
Matthias M 2021-05-23 01:45:42 +02:00
commit c6b3cb0041
4 changed files with 9 additions and 4 deletions

View File

@ -112,7 +112,7 @@ class FindAndReplaceDialog(QDialog):
if self.form.field.currentIndex() == 0:
field = None
else:
field = self.field_names[self.form.field.currentIndex() - 2]
field = self.field_names[self.form.field.currentIndex()]
find_and_replace(
parent=self.parentWidget(),

View File

@ -270,6 +270,8 @@ class Table:
self._view.selectionModel().selectionChanged, self.browser.onRowChanged
)
self._view.setWordWrap(False)
self._view.setHorizontalScrollMode(QAbstractItemView.ScrollPerPixel)
self._view.horizontalScrollBar().setSingleStep(10)
self._update_font()
if not theme_manager.night_mode:
self._view.setStyleSheet(

View File

@ -53,14 +53,17 @@ img {
}
.typeGood {
background: #0f0;
background: #afa;
color: black;
}
.typeBad {
background: #f00;
color: black;
background: #faa;
}
.typeMissed {
color: black;
background: #ccc;
}

View File

@ -140,7 +140,7 @@ export function histogramGraph(
)
.attr("direction", "ltr");
svg.select("path.area")
svg.select("path.cumulative-overlay")
.datum(areaData as any)
.attr(
"d",