Skip to content

Commit 8fa7b0b

Browse files
committed
turning randomizer off on author search
1 parent 83f7c28 commit 8fa7b0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mainwindow.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,10 @@ void MainWindow::OnQMLAuthorToggled(QVariant var, QVariant active)
10501050
QModelIndex index = typetableModel->index(rownum, 0);
10511051
auto data = index.data(static_cast<int>(FicModel::AuthorIdRole)).toInt();
10521052
if(active.toBool())
1053+
{
1054+
ui->chkRandomizeSelection->setChecked(false);
10531055
ui->leAuthorID->setText(QString::number(data));
1056+
}
10541057
else
10551058
ui->leAuthorID->setText("");
10561059
ui->cbIDMode->setCurrentIndex(1);

0 commit comments

Comments
 (0)