Benoit Verret
86939c6007
Remove welcome_message from console.py
It is not used anymore.
The console prints network.banner instead.
5 years ago
Benoit Verret
c8a4c11a78
Remove __main__ from console.py
The Python console isn't meant to run as a standalone.
5 years ago
SomberNight
52f8aafb60
kivy: fix fx history rates defaults.
In kivy, if the user enabled fx rates but did not touch the fx history settings,
the GUI would show that history rates are enabled but in fact they would be disabled:
the GUI called fx.get_history_config(default=True) when displaying the checkbox,
but exchange_rate.py would not fetch history rates.
(it would only get fixed if the user touched the fx history checkbox)
Note: FxThread.run() calls fx.show_history(), which calls fx.get_history_config() without arguments.
5 years ago
SomberNight
67a5f2e09a
kivy: fix fiat balance str if there are channels
btc and fiat balance was not consistent
5 years ago
Akshay Arora
2b394f5f93
Size the wizard instantly, do not wait.
Fixes a UI issue in kivy Install Wizzard.
The Choices UI was displayed in a small vertical line for a split second, before being resized to correct size.
This fixes that by ensuring resizing is done before next frame is displayed https://kivy.org/doc/stable/api-kivy.clock.html#schedule-before-frame .
5 years ago
Benoit Verret
db5d5183d7
Keep current input when clearing Python console
Ctrl+L should clear the whole console except the current line like
a standard Python console.
5 years ago
Benoit Verret
c5577b0271
Clean console.py
Remove a nonessential line and fix a typo.
5 years ago
SomberNight
c66c54a254
android: handle on-chain/lightning URI on app open
fixes #6352
5 years ago
SomberNight
1c9a6f5770
qt wizard: fix scanning qr code when restoring from xpub
fixes #6342
5 years ago
SomberNight
4961020e01
wallet: handle exception when deleting last addr from imported wallet
fixes #6347
5 years ago
SomberNight
a6b83edec9
qt lightning dialog: fix min size
fixes #6344
5 years ago
SomberNight
35dad3c10e
qt history list: only offer "View Invoice" if still have invoice
fixes : #6343
5 years ago
SomberNight
9b3f165212
qt channels tab: implement filtering items
fixes #6330
5 years ago
ThomasV
9700e6112b
fix wording
5 years ago
michael1011
1980d8db43
gui swap: fix swap wording
5 years ago
SomberNight
c54b9a6874
qt receive tab: fix creating new payreq with all used imported wallet
fixes #6325
5 years ago
SomberNight
da4edc8f74
android: fix back button not working (main surface loses focus)
fixes #6276
5 years ago
SomberNight
3393ff757e
qt PreviewTxDialog: change feerounding_icon to be a QToolButton
QPushButtons with dark theme have a huge min width (they have text in mind)
related: #6300
5 years ago
SomberNight
8f96a92e75
qt PreviewTxDialog: if not enough funds due to fee, fallback to zero fee
fixes #6306
scenario: confirm tx dialog open, not enough funds (but only due to fees),
user clicks advanced, dialog half-empty.
note: the preview dialog is only half-empty if it never managed to create a tx.
if it did but it cannot now due to the current fee settings, then it will just
show that fee is too high (red text, buttons disabled) and show the last tx with the prev fee
5 years ago
SomberNight
844bbd103a
qt PreviewTxDialog: check for "not enough funds" also when shortcutting
see https://github.com/spesmilo/electrum/issues/6306#issuecomment-652424363
scenario: user saves invoice for more money than they have, has advanced_preview
in config enabled, tries to pay it, half-empty tx preview dialog opens
5 years ago
zebra-lucky
949b247b19
fix raise UserCacnelled calls ( #6304 )
5 years ago
ThomasV
9547a4e60c
Qt: override 'persist_daemon' option if users exits from menu
5 years ago
ThomasV
b43aba7f09
improve help text regarding watchtower
5 years ago
SomberNight
0d7bcde2db
qt dark theme: on mac, AmountEdit units were using dark text on dark bg
see #6281
5 years ago
SomberNight
93a4969fba
qt dark style: bandaid for dropdown item heights
see #6281
5 years ago
SomberNight
2db0ad10db
qt balance str: replace unicode char for LN symbol
closes #6265
5 years ago
ThomasV
782bfd06e5
swaps: fix group_label
5 years ago
ThomasV
9fd9703107
fix #6275
5 years ago
ThomasV
b0c390e231
wallet.clear_requests. fixes #6279
5 years ago
SomberNight
5f40414bd2
kivy: fix #6280 (share btn in qr_dialog)
5 years ago
SomberNight
b764d0f0bf
kivy: fix #6262
5 years ago
SomberNight
13dca30428
mac/qt: fix some refresh bugs in swap_dialog and new_channel_dialog
fixes #6269
this is just ugly :/
5 years ago
SomberNight
4216a9164d
qt new_channel_dialog: trivial fix in on_clear()
5 years ago
SomberNight
afbdacbe16
kivy: use on_release instead of on_press in buttons
I think on_release has better UX.
More importantly, on desktop linux with kivy 2.0.0rc2, on_press does not work for me.
(but on Android, with kivy 1.11.1, it does)
5 years ago
ThomasV
01202ed3eb
fix amount_sat in kivy invoice/request dialogs. (follow-up d5f368c584
)
5 years ago
ThomasV
436ca11021
swaps dialog: handle make_unsigned_tx exceptions. fixes #6246
5 years ago
SomberNight
d5f368c584
LN invoices: support msat precision
fixes #6250
5 years ago
ThomasV
d870778a1b
minor: use wallet.has_lightning()
5 years ago
ThomasV
4bda882695
Group swap transactions in Qt history ( fixes #6237 )
- use tree structure of QTreeView
- grouped items have a 'group_id' field
- rename 'Normal' swap as 'Forward'
5 years ago
SomberNight
b6db201570
util: small clean-up for format_satoshis
5 years ago
Richard
973d1875c4
Update network_dialog.py
5 years ago
SomberNight
1321b0e47a
qt channel details: maybe fix #5728
5 years ago
ThomasV
e30c752e19
kivy: improve channels list
5 years ago
ThomasV
b06daaa669
fix display of short_channel_id for channel backups
5 years ago
SomberNight
182c192558
qt: easier import/export of channel backups
5 years ago
SomberNight
12e2beadd9
(trivial) qt: disable 'swap' button if lightning disabled
5 years ago
SomberNight
4c70956687
filter callbacks to wallet: channel, payment_succeeded, payment_failed
It is ugly that the 'channel' callback takes a wallet I guess,
but with channel backups in one wallet, and active channels in another,
it was causing problems... (when open simultaneously)
5 years ago
SomberNight
c2ffc6ca3a
qt swap_dialog: "max" now takes into account the server-provided value
5 years ago
SomberNight
abad2b6069
qt swap_dialog: implement "max" button for reverse swap
5 years ago
SomberNight
7570c8c1c6
qt swap_dialog: "max" button now respects max htlc value
5 years ago