This commit is contained in:
adityapk00
2018-11-21 18:15:20 -08:00
parent e718dfcbef
commit bccb3d674a
3 changed files with 34 additions and 31 deletions

View File

@@ -45,10 +45,7 @@ void MainWindow::setupSendTab() {
this->memoButtonClicked(1);
});
setMemoEnabled(1, false);
// Hack to equalize the sizes of the Memo and Address buttons
ui->MemoBtn1->setFixedWidth(ui->AddressBook1->width());
// This is the damnest thing ever. If we do AddressBook::readFromStorage() directly, the whole file
// doesn't get read. It needs to run in a timer after everything has finished to be able to read
// the file properly.
@@ -222,8 +219,6 @@ void MainWindow::addAddressSection() {
});
horizontalLayout_13->addWidget(MemoBtn1);
setMemoEnabled(itemNumber, false);
// Hack to equalize the sizes of the Memo and Address buttons
MemoBtn1->setFixedWidth(addressBook1->width());
sendAddressLayout->addLayout(horizontalLayout_13);