fix plugin settings removed willexecutor ping
This commit is contained in:
17
qt.py
17
qt.py
@@ -295,8 +295,8 @@ class Plugin(BalPlugin, Logger):
|
||||
lbl_logo = QLabel()
|
||||
lbl_logo.setPixmap(qicon)
|
||||
|
||||
heir_ping_willexecutors = bal_checkbox(self.PING_WILLEXECUTORS)
|
||||
heir_ask_ping_willexecutors = bal_checkbox(self.ASK_PING_WILLEXECUTORS)
|
||||
#heir_ping_willexecutors = bal_checkbox(self.PING_WILLEXECUTORS)
|
||||
#heir_ask_ping_willexecutors = bal_checkbox(self.ASK_PING_WILLEXECUTORS)
|
||||
heir_no_willexecutor = bal_checkbox(self.NO_WILLEXECUTOR)
|
||||
|
||||
def on_multiverse_change():
|
||||
@@ -656,17 +656,14 @@ class BalWindow(Logger):
|
||||
Will.normalize_will(self.willitems, self.wallet)
|
||||
|
||||
def build_will(self, ignore_duplicate=True, keep_original=True):
|
||||
print("aa")
|
||||
will = {}
|
||||
willtodelete = []
|
||||
willtoappend = {}
|
||||
try:
|
||||
self.init_class_variables()
|
||||
print("bb")
|
||||
self.willexecutors = Willexecutors.get_willexecutors(
|
||||
self.bal_plugin, update=False, bal_window=self
|
||||
)
|
||||
print("cc")
|
||||
if not self.no_willexecutor:
|
||||
|
||||
f = False
|
||||
@@ -1579,13 +1576,9 @@ class BalWizardDialog(BalDialog):
|
||||
)
|
||||
|
||||
def on_next_we(self):
|
||||
print("a")
|
||||
close_window = BalBuildWillDialog(self.bal_window)
|
||||
print("b")
|
||||
close_window.build_will_task()
|
||||
print("c")
|
||||
self.close()
|
||||
print("d")
|
||||
# self.next_widget(BalWizardLocktimeAndFeeWidget(self.bal_window,self,self.on_next_locktimeandfee,self.on_next_wedonwload,self.on_next_wedonwload.on_cancel_heir))
|
||||
|
||||
def on_next_locktimeandfee(self):
|
||||
@@ -2057,21 +2050,15 @@ class BalBuildWillDialog(BalDialog):
|
||||
pass
|
||||
|
||||
def build_will_task(self):
|
||||
print("1")
|
||||
_logger.debug("build will task to be started")
|
||||
print("2")
|
||||
self.thread.add(
|
||||
self.task_phase1,
|
||||
on_success=self.on_success_phase1,
|
||||
on_done=self.on_accept,
|
||||
on_error=self.on_error_phase1,
|
||||
)
|
||||
print(self.parent)
|
||||
print("3")
|
||||
self.show()
|
||||
print("4")
|
||||
self.exec()
|
||||
print("5")
|
||||
|
||||
def task_phase1(self):
|
||||
_logger.debug("close plugin phase 1 started")
|
||||
|
||||
Reference in New Issue
Block a user