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: if self.form.field.currentIndex() == 0:
field = None field = None
else: else:
field = self.field_names[self.form.field.currentIndex() - 2] field = self.field_names[self.form.field.currentIndex()]
find_and_replace( find_and_replace(
parent=self.parentWidget(), parent=self.parentWidget(),

View File

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

View File

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

View File

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