mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-30 14:44:31 +02:00
Disable auto-reload of files
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
0aa3341d58
commit
111cdc240e
@ -142,8 +142,11 @@ void OtherLogsPage::populateSelectLogBox()
|
|||||||
if (!prevCurrentFile.isEmpty()) {
|
if (!prevCurrentFile.isEmpty()) {
|
||||||
const int index = ui->selectLogBox->findText(prevCurrentFile);
|
const int index = ui->selectLogBox->findText(prevCurrentFile);
|
||||||
if (index != -1) {
|
if (index != -1) {
|
||||||
|
ui->selectLogBox->blockSignals(true);
|
||||||
ui->selectLogBox->setCurrentIndex(index);
|
ui->selectLogBox->setCurrentIndex(index);
|
||||||
|
ui->selectLogBox->blockSignals(false);
|
||||||
setControlsEnabled(true);
|
setControlsEnabled(true);
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
setControlsEnabled(false);
|
setControlsEnabled(false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user