diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index c47503d843d1db2a8bfc64ebd74e6b84a2f177da..f723bdda5a8f700ae97a35d696aaaae5fd0ee3eb 100644 --- a/src/cutecoin/gui/community_tab.py +++ b/src/cutecoin/gui/community_tab.py @@ -55,7 +55,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget): def member_context_menu(self, point): index = self.table_community_members.indexAt(point) model = self.table_community_members.model() - if index.row() < model.rowCount(): + if index.row() < model.rowCount() and index.column() < model.columnCount() - 2: source_index = model.mapToSource(index) pubkey_col = model.sourceModel().columns.index('Pubkey') pubkey_index = model.sourceModel().index(source_index.row(),