diff --git a/audio_player.py b/audio_player.py
index 384f835..37ced60 100644
--- a/audio_player.py
+++ b/audio_player.py
@@ -75,7 +75,7 @@ class AudioPlayer(object):
def set_audio_player(self, fname = ""):
self.__first_call = True
self.__reset_audio_widget()
- full_name = os.path.join('Data', 'Audio_wav', fname + '.wav')
+ full_name = os.path.join('Data', 'Audio', fname + '.wav')
if os.path.exists(full_name):
self.__play.setEnabled(True)
self.__audio_file = full_name
diff --git a/main.py b/main.py
index d340238..ec25f9a 100644
--- a/main.py
+++ b/main.py
@@ -137,19 +137,19 @@ class MyApp(QMainWindow, Ui_MainWindow):
self.signal_names = self.db.index
self.db.fillna("N/A", inplace = True)
self.db["url_clicked"] = False
- try:
- with open(os.path.join('Data', 'verdb.ini'), 'r') as dbver:
- self.db_version = int(dbver.read())
- except (FileNotFoundError, ValueError):
- box = QMessageBox(self)
- box.setWindowTitle("No database version")
- box.setText("Unable to detect database version.\n"
- "Possible data curruption.\n"
- "Go to Updates->Force Download.")
- box.show()
- self.setStatusTip("Database version: undefined.")
- else:
- self.setStatusTip(f"Database version: {self.db_version}")
+ try:
+ with open(os.path.join('Data', 'verdb.ini'), 'r') as dbver:
+ self.db_version = int(dbver.read())
+ except (FileNotFoundError, ValueError):
+ box = QMessageBox(self)
+ box.setWindowTitle("No database version")
+ box.setText("Unable to detect database version.\n"
+ "Possible data curruption.\n"
+ "Go to Updates->Force Download.")
+ box.show()
+ self.setStatusTip("Database version: undefined.")
+ else:
+ self.setStatusTip(f"Database version: {self.db_version}")
def display_signals(self):
self.result_list.clear()
diff --git a/main_window.ui b/main_window.ui
index 1739306..ff0914d 100644
--- a/main_window.ui
+++ b/main_window.ui
@@ -6,8 +6,8 @@
0
0
- 1169
- 626
+ 1337
+ 641
@@ -261,6 +261,12 @@ border-radius: 5px;
0
+
+
+ 200
+ 400
+
+
Qt::LeftToRight
@@ -1920,7 +1926,7 @@ QTabBar::tab:!selected {
- 170
+ 300
0
@@ -1955,7 +1961,7 @@ QLabel, QPushButton, QSlider {
-
-
+
0
0
@@ -2020,8 +2026,8 @@ QPushButton:disabled {
- 41
- 41
+ 60
+ 60
@@ -2045,8 +2051,8 @@ QPushButton:disabled {
- 41
- 41
+ 60
+ 60
@@ -2070,8 +2076,8 @@ QPushButton:disabled {
- 41
- 41
+ 60
+ 60
@@ -2151,15 +2157,15 @@ QSlider::handle:horizontal {
-
-
+
0
0
- 153
- 350
+ 250
+ 400
@@ -2189,7 +2195,7 @@ QSlider::handle:horizontal {
0
0
- 1169
+ 1337
21