GUI: unmount button fix

This commit is contained in:
martinappleby committed 2025-11-17 11:58:38 +01:00
1 parent c0164645a9
commit 38e3e81147
1 file changed
+3 -3
@@ -212,9 +212,9 @@ class ReferenceToolsPanel(QFrame):
return self.table_model.get_item(idx.row())
def _on_unmount_clicked(self):
item = self._selected_item()
if item is not None:
self.unmount.emit(item)
# item = self._selected_item()
# if item is not None:
self.unmount.emit()
def _context_menu(self, position):
idx = self.table_view.indexAt(position)