Skip to content

Commit ba24a42

Browse files
committed
fix: "Clear file" does not work (#757)
1 parent 25c7de6 commit ba24a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/src/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ void MainWindow::clearLog()
11061106
this, tr( "klogg - clear file" ),
11071107
tr( "Clear file %1? File content will be removed from disk, this is irreversible" )
11081108
.arg( current_file ) )
1109-
== QMessageBox::Yes ) {
1109+
== QMessageBox::Ok ) {
11101110
QFile::resize( current_file, 0 );
11111111
}
11121112
}

0 commit comments

Comments
 (0)