WSL/SLF GitLab Repository

Commit c7066cf1 authored by Michael Reisecker's avatar Michael Reisecker
Browse files

Fix "do not show" for tab closing

When this setting was split up from another one, one place was forgotten.
parent f8261c18
......@@ -296,7 +296,7 @@ void PreviewWindow::closeEvent(QCloseEvent *event)
}
}
if (has_unsaved_changes &&
getSetting("user::warnings::warn_unsaved_ini", "value") == "TRUE") { //at least one tab has unsaved changes
getSetting("user::warnings::warn_unsaved_preview", "value") == "TRUE") { //at least one tab has unsaved changes
const int cancel = warnOnUnsavedIni();
if (cancel == QMessageBox::Cancel) {
event->ignore();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment