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