Removing the if statement entirely - not needed.

This commit is contained in:
Janne Pulkkinen 2011-09-27 19:20:24 +03:00
parent 609acbf43d
commit a1ef0d19b1

View File

@ -522,13 +522,6 @@ void BitcoinGUI::gotoReceiveCoinsPage()
void BitcoinGUI::gotoSendCoinsPage() void BitcoinGUI::gotoSendCoinsPage()
{ {
sendCoinsAction->setChecked(true); sendCoinsAction->setChecked(true);
if(centralWidget->currentWidget() != sendCoinsPage)
{
// Clear the current contents if we arrived from another tab
// Not necessary especially if the user is jumping between Transactions
// and Send Coins pages. - Matoking
//sendCoinsPage->clear();
}
centralWidget->setCurrentWidget(sendCoinsPage); centralWidget->setCurrentWidget(sendCoinsPage);
exportAction->setEnabled(false); exportAction->setEnabled(false);