From ba24a4213a327900782e8c66a6b395c51e75f204 Mon Sep 17 00:00:00 2001 From: Artur Zalewski Date: Mon, 23 Dec 2024 17:56:51 +0100 Subject: [PATCH] fix: "Clear file" does not work (#757) --- src/ui/src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/src/mainwindow.cpp b/src/ui/src/mainwindow.cpp index 92d0786c..adbfb31f 100644 --- a/src/ui/src/mainwindow.cpp +++ b/src/ui/src/mainwindow.cpp @@ -1106,7 +1106,7 @@ void MainWindow::clearLog() this, tr( "klogg - clear file" ), tr( "Clear file %1? File content will be removed from disk, this is irreversible" ) .arg( current_file ) ) - == QMessageBox::Yes ) { + == QMessageBox::Ok ) { QFile::resize( current_file, 0 ); } }