Amir Taaki
9c122c23ea
Fixed issue 19 by jimboman77: https://github.com/spesmilo/electrum/issues/19
"Right now the only check thats being done is making sure that the length isn't 0, ie something is being entered before the send button becomes clickable."
Also check that entered amount is <= btc_balance before enabling send button.
13 years ago
Amir Taaki
ca4473c620
If wallet does not exist, then it does not even attempt to read the config (read returns on IOError exception). Ergo a new wallet will not ever set the theme name and it will stay as None. We change this to a sensible default so new wallets have a themed GUI.
13 years ago
Amir Taaki
4c1bc14104
Remove assert which isn't true for the commands (only the GUI).
13 years ago
Amir Taaki
b3b910d926
WalletSynchronizer had a race condition caused by calling the callback before the Qt event loop (or other initialisation) finished. Ergo we split initialisation and the running of the thread, then use Qt SIGNALs to yield back into the Qt event loop. This ensures that the callback for the servers_list_changed is not called until the main Qt event loop is actually running.
13 years ago
Amir Taaki
e61d478a80
Tidy up of code to comply with style guide.
13 years ago
Maran
3216a86773
Merge branch '1.0'
13 years ago
Maran
4e3e4b90ea
Fix port number for bytesized
13 years ago
Maran
bab09b4627
Fix tab issue for password
13 years ago
Amir Taaki
6dfb9e12c7
Fixed bug where switching servers causes assert failure.
13 years ago
Amir Taaki
3fe5ba85b2
Added QObject to MiniActuator.
13 years ago
Amir Taaki
10e3aa7c1e
Merge branch 'servers'
Conflicts:
lib/gui_lite.py
13 years ago
Amir Taaki
2b6d5ebd55
Change server in lite mode.
13 years ago
Amir Taaki
b25e93c4bc
Update servers list once fetched from remote.
13 years ago
Amir Taaki
f2fb235643
be more permissive with catching exceptions here as many varities possible.
13 years ago
Amir Taaki
9815fb5a70
pw_decode returns ValueError on fail.
13 years ago
Maran
850d0dcd5f
Made the error message for verifymessage more transparent
13 years ago
Maran
a2db281494
Added a message to the sign/verify message help text to explain spaces inside the message
13 years ago
Maran
37214eee76
Merge branch 'master' of https://github.com/spesmilo/electrum
13 years ago
Maran
466d1e0f40
If we are doing a sdist just include everything since we don't know the target os
13 years ago
Amir Taaki
ce584890ea
Explanation: Doesn't preserve the same behaviour as code throws BaseException not SystemExit. Therefore it wasn't meant to be catching user errors.
Revert "Added more descriptive error if wallet cannot be loaded"
This reverts commit 47432b32c8
.
13 years ago
Jimbo77
dd78f0978b
needed to include absolute path for optparse methods
13 years ago
Jimbo77
edf293e611
reverted commit 31aaf473c8
due to it breaking electrum
13 years ago
Amir Taaki
26c0b786e9
RAII open of wallet file.
13 years ago
Amir Taaki
3d836ebc38
Revert "Don't need two try/catch statments if nothing happens when exception is caught"
This reverts commit 6b86942ccb
.
13 years ago
Amir Taaki
5c4be3196a
Better looking set_path(wallet_path) method. Flattened function that's easier to read.
13 years ago
Amir Taaki
58e6050f52
Better looking set_path(wallet_path) method. Flattened function that's easier to read.
13 years ago
Jimbo77
25ad5fcd06
got rid of print_error
13 years ago
Jimbo77
a6239764d2
small cosmetic change
13 years ago
Jimbo77
34a3eea0bf
changed imports to fit pep8 styleguide
13 years ago
Jimbo77
2de8df6758
getting rid of another BaseExceptions
13 years ago
Jimbo77
e12699ae75
getting rid of more BaseExceptions
13 years ago
Jimbo77
cdc16acabb
changed to more descriptive exception
13 years ago
Jimbo77
6b86942ccb
Don't need two try/catch statments if nothing happens when exception is caught
13 years ago
Jimbo77
719b9d7d33
Small cosmetic fix
13 years ago
Jimbo77
407070bba0
Didn't need a seperate variable just for string
13 years ago
Jimbo77
cb67ec4454
changed to more descriptive exception
13 years ago
Jimbo77
47432b32c8
Added more descriptive error if wallet cannot be loaded
13 years ago
Jimbo77
c8f19e1969
removed optparse import statment
13 years ago
Jimbo77
1112348c38
Merge branch 'optparse_upgrade'
13 years ago
Jimbo77
31aaf473c8
upgraded optparse with the newer module argparse. Can't see any problems so far
13 years ago
Amir Taaki
89953895f8
Added explanation to line returning qVariant for future eyes.
13 years ago
Amir Taaki
77b3052f44
(explanation: the value returned is a qVariant not a bool and so needs explicit comparison to work)
Revert "got rid of boolean value comparison using == as stated in pep8 style guide"
This reverts commit 3bd7717038
.
13 years ago
Amir Taaki
2b96b6dec1
Unneeded exception raised. sys.exit returns before exception ever gets a chance to be thrown.
13 years ago
Jimbo77
9fc4e1a1b1
changed lookup_rate() to non-public
13 years ago
Jimbo77
3f167cb650
got rid of magic number
13 years ago
Jimbo77
c2713f6089
changed to use built-in list methods
13 years ago
Jimbo77
6122898915
changed to use built-in list methods
13 years ago
Jimbo77
e0d6570a1f
created set_quote_currency() docstring
13 years ago
Jimbo77
f8c68fc51e
created amount_input_changed() docstring
13 years ago
Jimbo77
f2277adf10
created mousePressedEvents() and se_balance_text() docstrings
13 years ago