aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorJanne Pulkkinen <jannepulk@gmail.com>2011-09-27 19:20:24 +0300
committerJanne Pulkkinen <jannepulk@gmail.com>2011-09-27 19:20:24 +0300
commita1ef0d19b1c1dd30b49bba6b0036eea3414e6ef7 (patch)
tree34d57b991ad32ed02136bf09eb805b0fdea045a1 /src/qt/bitcoingui.cpp
parent609acbf43d8d66102878e47a826c037edc270e46 (diff)
downloadbitcoin-a1ef0d19b1c1dd30b49bba6b0036eea3414e6ef7.tar.xz
Removing the if statement entirely - not needed.
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index c9a892fd1d..be10b97c0f 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -522,13 +522,6 @@ void BitcoinGUI::gotoReceiveCoinsPage()
void BitcoinGUI::gotoSendCoinsPage()
{
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);
exportAction->setEnabled(false);