GUI: reference tool unmount button bug fix (again). Right click unmount also works!
This commit is contained in:
@@ -212,9 +212,7 @@ 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)
|
||||
self.unmount.emit()
|
||||
|
||||
def _context_menu(self, position):
|
||||
idx = self.table_view.indexAt(position)
|
||||
|
||||
Reference in New Issue
Block a user