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 New Issue
Block a user