Skip to content
Snippets Groups Projects
Commit a1f7d444 authored by inso's avatar inso
Browse files

Fixed issue #71

parent 6a9e89b0
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,9 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget): ...@@ -101,7 +101,9 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget):
dialog.edit_pubkey.setText(person.pubkey) dialog.edit_pubkey.setText(person.pubkey)
dialog.combo_community.setCurrentText(self.community.name()) dialog.combo_community.setCurrentText(self.community.name())
dialog.radio_pubkey.setChecked(True) dialog.radio_pubkey.setChecked(True)
dialog.exec_() if dialog.exec_() == QDialog.Accepted:
currency_tab = self.window().currencies_tabwidget.currentWidget()
currency_tab.table_history.model().invalidate()
def certify_member(self): def certify_member(self):
dialog = CertificationDialog(self.account, self.password_asker) dialog = CertificationDialog(self.account, self.password_asker)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import time import time
import datetime import datetime
import logging import logging
from PyQt5.QtWidgets import QWidget, QComboBox from PyQt5.QtWidgets import QWidget, QComboBox, QDialog
from ..gen_resources.wot_tab_uic import Ui_WotTabWidget from ..gen_resources.wot_tab_uic import Ui_WotTabWidget
from cutecoin.gui.views.wot import NODE_STATUS_HIGHLIGHTED, NODE_STATUS_SELECTED, NODE_STATUS_OUT, ARC_STATUS_STRONG, ARC_STATUS_WEAK from cutecoin.gui.views.wot import NODE_STATUS_HIGHLIGHTED, NODE_STATUS_SELECTED, NODE_STATUS_OUT, ARC_STATUS_STRONG, ARC_STATUS_WEAK
...@@ -356,7 +356,10 @@ class WotTabWidget(QWidget, Ui_WotTabWidget): ...@@ -356,7 +356,10 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
dialog.edit_pubkey.setText(metadata['id']) dialog.edit_pubkey.setText(metadata['id'])
dialog.combo_community.setCurrentText(self.community.name()) dialog.combo_community.setCurrentText(self.community.name())
dialog.radio_pubkey.setChecked(True) dialog.radio_pubkey.setChecked(True)
dialog.exec_()
if dialog.exec_() == QDialog.Accepted:
currency_tab = self.window().currencies_tabwidget.currentWidget()
currency_tab.table_history.model().invalidate()
def add_node_as_contact(self, metadata): def add_node_as_contact(self, metadata):
# check if contact already exists... # check if contact already exists...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment