mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-01-20 15:40:38 +01:00
store packetlog with correct file ending
This commit is contained in:
parent
5136418e26
commit
0afcbaac5d
|
|
@ -33,8 +33,8 @@ DevicePacketLogView::DevicePacketLogView(QWidget *parent) :
|
|||
// aborted selection
|
||||
return;
|
||||
}
|
||||
if(!filename.endsWith(".usblog")) {
|
||||
filename.append(".usblog");
|
||||
if(!filename.endsWith(".vnalog")) {
|
||||
filename.append(".vnalog");
|
||||
}
|
||||
ofstream file;
|
||||
file.open(filename.toStdString());
|
||||
|
|
|
|||
Loading…
Reference in a new issue