Disable auto-reload of files
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
0aa3341d58
commit
111cdc240e
1 changed files with 3 additions and 0 deletions
|
@ -142,8 +142,11 @@ void OtherLogsPage::populateSelectLogBox()
|
|||
if (!prevCurrentFile.isEmpty()) {
|
||||
const int index = ui->selectLogBox->findText(prevCurrentFile);
|
||||
if (index != -1) {
|
||||
ui->selectLogBox->blockSignals(true);
|
||||
ui->selectLogBox->setCurrentIndex(index);
|
||||
ui->selectLogBox->blockSignals(false);
|
||||
setControlsEnabled(true);
|
||||
return;
|
||||
} else {
|
||||
setControlsEnabled(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue