Benoit Verret
9e35f1f8ac
Fix handling of constructs in console
...
- Replace "...." by "... " in multiline constructs.
- Execute constructs after one empty line and not two or three. It
was more or less random before.
2020-09-03 06:39:57 -04:00
SomberNight
6b4edc650a
qt history: fixes for tx context-menu "View invoice" if more than one
...
fixes #6516
coalesce "View invoice" options into submenu if there are multiple;
also make sure lambda uses bound argument
2020-08-31 20:55:14 +02:00
SomberNight
c313c702fd
qt wallet>info: use QStackedWidget, one stack item for each keystore
...
Instead of single mpk_text widget for each ks and changing the contents
when switching, create an mpk_text widget for each ks and switch between those.
This allows putting the "show xpub on device" button inside mpk_text.
2020-08-28 20:10:58 +02:00
SomberNight
5215582b83
qt wallet>info: show derivation path prefix for keystore
...
closes #4700
2020-08-28 18:22:26 +02:00
SomberNight
64a94e9522
Qt Receive tab: hide "receive_tabs" widget when empty
2020-08-27 19:54:30 +02:00
ThomasV
fdaf6e775c
Merge pull request #6489 from verretor/console-remove-methods
...
Remove unused methods from Console
2020-08-27 10:00:35 +02:00
ThomasV
b7c2820951
Qt: add Key_Enter wherever Key_Return is used
2020-08-26 19:37:52 +02:00
SomberNight
df82d9c017
bip39 scan: follow-up prev
...
- use logger
- allow qt dialog to be GC-ed
- (trivial) add typing; minor formatting
2020-08-20 18:58:52 +02:00
Luke Childs
7b122d2679
Automated BIP39 Recovery, squashed
2020-08-20 17:50:39 +02:00
Benoit Verret
4b76541d4c
Remove unused methods from Console
...
set_history(), get_history() and register_command() were never used.
2020-08-07 07:55:19 -04:00
Benoit Verret
822083d168
Remove empty startup message from console
...
Change >> to >>> as in a normal Python console.
Avoid printing an empty string which is why the console looked like:
>>
Network banner
>>
Instead of:
Network banner
>>>
2020-08-03 05:21:30 -04:00
Benoit Verret
86939c6007
Remove welcome_message from console.py
...
It is not used anymore.
The console prints network.banner instead.
2020-08-02 07:26:54 -04:00
ThomasV
8703d10d65
Merge pull request #6395 from akshayaurora/patch-1
...
Re-size the wizard before next frame is displayed.
2020-07-29 17:58:59 +02:00
ThomasV
a7fa92b66f
Merge pull request #6387 from verretor/clear-console
...
Keep current input when clearing Python console
2020-07-29 17:49:45 +02:00
ThomasV
5bf47279e0
Merge pull request #6384 from verretor/clean-console
...
Clean console.py
2020-07-29 17:48:50 +02:00
Benoit Verret
c8a4c11a78
Remove __main__ from console.py
...
The Python console isn't meant to run as a standalone.
2020-07-17 13:59:55 -04:00
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.
2020-07-16 01:00:51 +02:00
SomberNight
67a5f2e09a
kivy: fix fiat balance str if there are channels
...
btc and fiat balance was not consistent
2020-07-15 23:48:45 +02:00
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 .
2020-07-15 22:57:24 +05:30
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.
2020-07-14 12:00:54 -04:00
Benoit Verret
c5577b0271
Clean console.py
...
Remove a nonessential line and fix a typo.
2020-07-14 09:24:34 -04:00
SomberNight
c66c54a254
android: handle on-chain/lightning URI on app open
...
fixes #6352
2020-07-08 04:16:30 +02:00
SomberNight
1c9a6f5770
qt wizard: fix scanning qr code when restoring from xpub
...
fixes #6342
2020-07-08 01:51:14 +02:00
SomberNight
4961020e01
wallet: handle exception when deleting last addr from imported wallet
...
fixes #6347
2020-07-08 01:28:20 +02:00
SomberNight
a6b83edec9
qt lightning dialog: fix min size
...
fixes #6344
2020-07-08 01:23:50 +02:00
SomberNight
35dad3c10e
qt history list: only offer "View Invoice" if still have invoice
...
fixes : #6343
2020-07-08 01:19:23 +02:00
SomberNight
9b3f165212
qt channels tab: implement filtering items
...
fixes #6330
2020-07-07 23:33:57 +02:00
ThomasV
9700e6112b
fix wording
2020-07-07 15:31:13 +02:00
michael1011
1980d8db43
gui swap: fix swap wording
2020-07-05 23:24:09 +02:00
SomberNight
c54b9a6874
qt receive tab: fix creating new payreq with all used imported wallet
...
fixes #6325
2020-07-03 20:12:52 +02:00
SomberNight
da4edc8f74
android: fix back button not working (main surface loses focus)
...
fixes #6276
2020-07-03 16:10:36 +02:00
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
2020-07-02 13:49:54 +02:00
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
2020-07-02 13:29:51 +02:00
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
2020-07-02 13:25:31 +02:00
zebra-lucky
949b247b19
fix raise UserCacnelled calls ( #6304 )
2020-07-01 15:37:31 +00:00
ThomasV
9547a4e60c
Qt: override 'persist_daemon' option if users exits from menu
2020-06-30 11:16:27 +02:00
ThomasV
b43aba7f09
improve help text regarding watchtower
2020-06-30 11:15:25 +02:00
SomberNight
0d7bcde2db
qt dark theme: on mac, AmountEdit units were using dark text on dark bg
...
see #6281
2020-06-28 03:50:34 +02:00
SomberNight
93a4969fba
qt dark style: bandaid for dropdown item heights
...
see #6281
2020-06-28 03:46:20 +02:00
SomberNight
2db0ad10db
qt balance str: replace unicode char for LN symbol
...
closes #6265
2020-06-26 15:34:11 +02:00
ThomasV
782bfd06e5
swaps: fix group_label
2020-06-26 10:46:06 +02:00
ThomasV
9fd9703107
fix #6275
2020-06-26 10:07:51 +02:00
ThomasV
b0c390e231
wallet.clear_requests. fixes #6279
2020-06-26 09:47:16 +02:00
SomberNight
5f40414bd2
kivy: fix #6280 (share btn in qr_dialog)
2020-06-26 03:38:39 +02:00
SomberNight
b764d0f0bf
kivy: fix #6262
2020-06-26 03:25:36 +02:00
SomberNight
13dca30428
mac/qt: fix some refresh bugs in swap_dialog and new_channel_dialog
...
fixes #6269
this is just ugly :/
2020-06-25 22:36:34 +02:00
SomberNight
4216a9164d
qt new_channel_dialog: trivial fix in on_clear()
2020-06-25 22:17:15 +02:00
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)
2020-06-25 21:55:59 +02:00
ThomasV
01202ed3eb
fix amount_sat in kivy invoice/request dialogs. (follow-up d5f368c584
)
2020-06-25 14:39:14 +02:00
ThomasV
0d156bc3e9
Merge pull request #6256 from SomberNight/202006_invoices_need_msat_precision_2
...
LN invoices: support msat precision (alt 2nd approach)
2020-06-23 17:30:55 +02:00