aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/InfoBoardWidget.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-15 18:29:46 +0000
committerSaturneric <[email protected]>2021-12-16 09:36:19 +0000
commit51259403d70cb69c2fbd2b38794867f0b60bcf35 (patch)
treeecbaffef748db326f00ac58f757e5e824b61d52e /src/ui/widgets/InfoBoardWidget.cpp
parentSMTP Support Added. (diff)
downloadGpgFrontend-51259403d70cb69c2fbd2b38794867f0b60bcf35.tar.gz
GpgFrontend-51259403d70cb69c2fbd2b38794867f0b60bcf35.zip
Added & Improved & Fixed.
Fixed Bugs in core. Improved Send Mail & Keyserver Settings. Added Pubkey Sync for key list. Added Refresh for key list. Improved Send Mail and others. Known Bugs Fixed.
Diffstat (limited to 'src/ui/widgets/InfoBoardWidget.cpp')
-rw-r--r--src/ui/widgets/InfoBoardWidget.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.cpp b/src/ui/widgets/InfoBoardWidget.cpp
index 1b7dbda0..28ec5644 100644
--- a/src/ui/widgets/InfoBoardWidget.cpp
+++ b/src/ui/widgets/InfoBoardWidget.cpp
@@ -37,7 +37,7 @@ InfoBoardWidget::InfoBoardWidget(QWidget* parent)
ui->actionButtonLayout->addStretch();
ui->actionLabel->setText(_("InfoBoard's Actions Menu"));
ui->copyButton->setText(_("Copy"));
- ui->saveButton->setText(_("Save"));
+ ui->saveButton->setText(_("Save File"));
ui->clearButton->setText(_("Clear"));
connect(ui->copyButton, &QPushButton::clicked, this,
@@ -102,18 +102,12 @@ void InfoBoardWidget::associateTextEdit(QTextEdit* edit) {
}
void InfoBoardWidget::associateTabWidget(QTabWidget* tab) {
- if (mTextPage != nullptr)
- disconnect(mTextPage, SIGNAL(textChanged()), this, SLOT(slotReset()));
- if (mTabWidget != nullptr) {
- disconnect(mTabWidget, SIGNAL(tabBarClicked(int)), this, SLOT(slotReset()));
- connect(mTabWidget, SIGNAL(tabCloseRequested(int)), this,
- SLOT(slotReset()));
- }
-
mTextPage = nullptr;
mTabWidget = tab;
connect(tab, SIGNAL(tabBarClicked(int)), this, SLOT(slotReset()));
connect(tab, SIGNAL(tabCloseRequested(int)), this, SLOT(slotReset()));
+ // reset
+ this->slotReset();
}
void InfoBoardWidget::addOptionalAction(const QString& name,