Moved highlight row index numbers to enum (#3829)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -353,7 +353,8 @@ void HighlightingPage::tableCellClicked(const QModelIndex &clicked,
|
||||
using Column = HighlightModel::Column;
|
||||
bool restrictColorRow =
|
||||
(tab == HighlightTab::Messages &&
|
||||
clicked.row() == HighlightModel::WHISPER_ROW);
|
||||
clicked.row() ==
|
||||
HighlightModel::HighlightRowIndexes::WhisperRow);
|
||||
if (clicked.column() == Column::SoundPath)
|
||||
{
|
||||
this->openSoundDialog(clicked, view, Column::SoundPath);
|
||||
|
||||
Reference in New Issue
Block a user