From 3e4996c74f1d461b9c6eb5b53f7d4d6def597bdf Mon Sep 17 00:00:00 2001
From: Felix de las Pozas <felixdelaspozas@gmail.com>
Date: Tue, 17 Jan 2023 18:29:24 +0100
Subject: [PATCH] Open HDF5 files with h5 extension. Bump to version 0.4.2.

---
 CMakeLists.txt               |  2 +-
 neurotessmesh/MainWindow.cpp | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d419c37..5ba1dd2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@
 #
 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
 cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
-project(NeuroTessMesh VERSION 0.4.1)
+project(NeuroTessMesh VERSION 0.4.2)
 set(NeuroTessMesh_VERSION_ABI 1)
 
 # Disable in source building
diff --git a/neurotessmesh/MainWindow.cpp b/neurotessmesh/MainWindow.cpp
index 075575f..85e4f6f 100644
--- a/neurotessmesh/MainWindow.cpp
+++ b/neurotessmesh/MainWindow.cpp
@@ -312,7 +312,7 @@ void MainWindow::openHDF5FileThroughDialog( )
 {
   QString path = QFileDialog::getOpenFileName(
     this , tr( "Open HD5 File" ) , _lastOpenedFileName ,
-    tr( "hdf5 ( *.hdf5);; All files (*)" ) , nullptr ,
+    tr( "hdf5 ( *.hdf5 *.h5);; All files (*)" ) , nullptr ,
     QFileDialog::DontUseNativeDialog );
 
   if ( path != QString( "" ))
@@ -348,6 +348,14 @@ void MainWindow::showAbout( )
     tr( ")" ) +
     tr( "</li> " ) +
     #endif
+    #ifdef NEUROTESSMESH_USE_SIMIL
+    tr( "<li>Simil " ) +
+    tr( simil::Version::getString( ).c_str( )) +
+    tr( " (" ) +
+    tr( std::to_string( simil::Version::getRevision( )).c_str( )) +
+    tr( ")" ) +
+    tr( "</li> " ) +
+    #endif
     #ifdef NEUROLOTS_USE_ZEROEQ
     tr( "<li>ZEQ " ) +
     tr( zeroeq::Version::getString( ).c_str( )) +
-- 
GitLab