Skip to content

Commit

Permalink
fix: "Clear file" does not work (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
tukowisko committed Dec 23, 2024
1 parent 25c7de6 commit ba24a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}
Expand Down

0 comments on commit ba24a42

Please sign in to comment.