Skip to content

Commit

Permalink
Qt: Updated Unique Root Asset display, fixed disabled controls after …
Browse files Browse the repository at this point in the history
…root asset creation.
  • Loading branch information
CodeIsTheKey committed Sep 29, 2024
1 parent 2c478eb commit b3ac9ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/assetsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void AssetsDialog::Asset_clicked() {

ui->nameTextLabel->setText(QString::fromStdString(asset.name));
if (asset.isRoot) {
ui->typeLabel->setText(tr("Root"));
ui->typeLabel->setText(asset.isUnique ? tr("Unique/NFT") : tr("Root"));
} else {
ui->typeLabel->setText(asset.isUnique ? tr("Unique/NFT") : tr("Sub"));
}
Expand Down
2 changes: 2 additions & 0 deletions src/qt/createassetsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ void CreateAssetsDialog::clear() {
ui->uniqueBox->setChecked(false);
ui->updatableBox->setChecked(false);

onUniqueChanged();

CoinControlUpdateLabels();

updateTabsAndLabels();
Expand Down

0 comments on commit b3ac9ef

Please sign in to comment.