]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
remove duplicate TxImport dialogue
authorgg <chown_tee@proton.me>
Mon, 12 Jan 2026 19:37:45 +0000 (14:37 -0500)
committergg <chown_tee@proton.me>
Mon, 12 Jan 2026 19:37:45 +0000 (14:37 -0500)
src/MainWindow.cpp

index e0645c4ac1734e8cef66613391578a7703b2a79f..571efc5d429892d970235852da0a6d5afdf5f4b6 100644 (file)
@@ -378,29 +378,6 @@ void MainWindow::initStatusBar() {
         if (m_wallet) {
             TxImportDialog dialog(this, m_wallet);
             dialog.exec();
-
-            auto *layout = new QVBoxLayout(&dialog);
-            layout->addWidget(new QLabel("Enter transaction ID:"));
-
-            auto *lineEdit = new QLineEdit;
-            lineEdit->setMinimumWidth(600);
-            layout->addWidget(lineEdit);
-
-            auto *btnBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
-            connect(btnBox, &QDialogButtonBox::accepted, &dialog, &QDialog::accept);
-            connect(btnBox, &QDialogButtonBox::rejected, &dialog, &QDialog::reject);
-            layout->addWidget(btnBox);
-
-            // Use fixed size based on content - prevents manual resizing
-            dialog.layout()->setSizeConstraint(QLayout::SetFixedSize);
-
-            if (dialog.exec() == QDialog::Accepted) {
-                QString txid = lineEdit->text();
-                if (!txid.isEmpty()) {
-                    m_wallet->importTransaction(txid.trimmed());
-                    this->setStatusText("Transaction scanned: " + txid.trimmed().left(8) + "...");
-                }
-            }
         }
     });
 }