Skip to content

Commit

Permalink
Fixed: can't apply new masternode data when using a new configuration…
Browse files Browse the repository at this point in the history
… file
  • Loading branch information
Bertrand256 committed Jun 8, 2023
1 parent 7cf35cd commit 4bd7c05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app_main_view_wdg.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def on_mn_list_column_resized(self, logical_index, old_size, new_size):
self.mn_list_columns_resized_by_user = True

def on_mn_data_changed(self):
if self.cur_masternode:
if self.cur_masternode or self.edited_masternode:
self.cur_masternode_edited = True
try:
mn_info = self.mn_info_by_mn_cfg.get(self.cur_masternode)
Expand Down Expand Up @@ -644,7 +644,6 @@ def mn_name_exists(name: str):
self.goto_masternode_details()
self.set_edit_mode(True)
self.wdg_masternode.on_mn_data_modified()
# self.on_mn_data_changed()
else:
WndUtils.error_msg('Editing already enabled!')

Expand Down

0 comments on commit 4bd7c05

Please sign in to comment.