From ffb899871f4ddb58f2c1b7d2c08567179f2f918a Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 10 Mar 2023 10:25:14 +0100 Subject: [PATCH] qml: don't explicitly add new channel to listmodel. It is updated automatically (and the model refreshed) through the channels_updated callback --- electrum/gui/qml/components/OpenChannelDialog.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/electrum/gui/qml/components/OpenChannelDialog.qml b/electrum/gui/qml/components/OpenChannelDialog.qml index f4cb089e3..05ae0049c 100644 --- a/electrum/gui/qml/components/OpenChannelDialog.qml +++ b/electrum/gui/qml/components/OpenChannelDialog.qml @@ -236,7 +236,6 @@ ElDialog { app.channelOpenProgressDialog.channelBackup = channelopener.channelBackup(cid) } // TODO: handle incomplete TX - channelopener.wallet.channelModel.new_channel(cid) root.close() } }