View Single Post
Old 01-07-2022, 06:55 AM   #16
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,457
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
I always like fields and buttons to be disabled when they have nothing to do. When the "Apply" button gets enabled, it tells me something has changed. It's something that GUI builders don't seem to understand.
What about enabling the button if the columns are resized? In that case 'something' changed.
Quote:

But, on another topic, guess how I got these errors:

Code:
Traceback (most recent call last):
  File "E:\Development\GitHub\calibre\src\calibre\gui2\preferences\main.py", line 319, in show_plugin
  File "E:\Development\GitHub\calibre\src\calibre\gui2\preferences\columns.py", line 31, in genesis
ValueError: max() arg is an empty sequence
Or maybe I should say: Guess what the state of the library I was using was in
I always forget the obvious case, the new library.

Fix submitted.

EDIT: Fix committed

Last edited by chaley; 01-07-2022 at 07:00 AM. Reason: Fix committed
chaley is offline   Reply With Quote