diff --git a/src/widgets/helper/NotebookTab.cpp b/src/widgets/helper/NotebookTab.cpp index b2f9c44b7..d70d7e42e 100644 --- a/src/widgets/helper/NotebookTab.cpp +++ b/src/widgets/helper/NotebookTab.cpp @@ -332,9 +332,7 @@ void NotebookTab::paintEvent(QPaintEvent *) { auto col = *this->highlightColor_.get(); col.setAlpha(255); - colors.line.regular = col; - colors.line.hover = col; - colors.line.unfocused = col; + colors.line = {col, col, col}; } // top line