Skip to content

Commit

Permalink
Fix open and append dialog case sensitive endings. (#473)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Wenzel <[email protected]>
  • Loading branch information
alexmucde authored May 23, 2024
1 parent 9c30dc7 commit 13a17a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ void MainWindow::onNewTriggered(QString fileName)
void MainWindow::on_action_menuFile_Open_triggered()
{
QStringList fileNames = QFileDialog::getOpenFileNames(this,
tr("Open DLT/PCAP/MF4 files"), workingDirectory.getDltDirectory(), tr("DLT/PCAP/MF4 files (*.dlt *.pcap *.mf4);;DLT files (*.dlt);;PCAP files (*.pcap);;MF4 files (*.mf4)"));
tr("Open DLT/PCAP/MF4 files"), workingDirectory.getDltDirectory(), tr("DLT/PCAP/MF4 files (*.dlt *.DLT *.pcap *.PCAP *.mf4 *.MF4);;DLT files (*.dlt *.DLT);;PCAP files (*.pcap *.PCAP);;MF4 files (*.mf4 *.MF4)"));

if(fileNames.isEmpty())
return;
Expand Down Expand Up @@ -1422,7 +1422,7 @@ void MainWindow::on_action_menuFile_Import_DLT_Stream_with_Serial_Header_trigger
void MainWindow::on_actionAppend_triggered()
{
QStringList fileNames = QFileDialog::getOpenFileNames(this,
tr("Append DLT/PCAP/MF4 files"), workingDirectory.getDltDirectory(), tr("DLT/PCAP/MF4 files (*.dlt *.pcap *.mf4);;DLT files (*.dlt);;PCAP files (*.pcap);;MF4 files (*.mf4)"));
tr("Append DLT/PCAP/MF4 files"), workingDirectory.getDltDirectory(), tr("DLT/PCAP/MF4 files (*.dlt *.DLT *.pcap *.PCAP *.mf4 *.MF4);;DLT files (*.dlt *.DLT);;PCAP files (*.pcap *.PCAP);;MF4 files (*.mf4 *.MF4)"));

if(fileNames.isEmpty())
return;
Expand Down

0 comments on commit 13a17a8

Please sign in to comment.