store packetlog with correct file ending

This commit is contained in:
Jan Käberich 2024-02-11 11:46:57 +01:00
parent 5136418e26
commit 0afcbaac5d

View File

@ -33,8 +33,8 @@ DevicePacketLogView::DevicePacketLogView(QWidget *parent) :
// aborted selection // aborted selection
return; return;
} }
if(!filename.endsWith(".usblog")) { if(!filename.endsWith(".vnalog")) {
filename.append(".usblog"); filename.append(".vnalog");
} }
ofstream file; ofstream file;
file.open(filename.toStdString()); file.open(filename.toStdString());