fixed a slight issue in the gui

This commit is contained in:
nosch
2026-03-08 01:47:33 +01:00
parent d8fec74de1
commit ffdd656b9c
+2 -2
View File
@@ -647,8 +647,6 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
if state.posts is None or state.posts == []: if state.posts is None or state.posts == []:
self.show_empty_results(True) self.show_empty_results(True)
return return
else:
self.show_empty_results(False)
state.trackertable.clearContents() state.trackertable.clearContents()
state.trackertable.setColumnCount(len(headers)) state.trackertable.setColumnCount(len(headers))
@@ -660,6 +658,8 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
self._resize_tracker_columns() self._resize_tracker_columns()
self.show_empty_results(False)
def update_image_overlay(self, new_image_path): def update_image_overlay(self, new_image_path):
self.image = QImage(new_image_path) self.image = QImage(new_image_path)
self.pixmap = QPixmap.fromImage(self.image) self.pixmap = QPixmap.fromImage(self.image)