manuskript/manuskript/ui
Jan Wester 3aa9cadfd8 Restore progress bar functionality
A previous fix (5f9ea3) inadvertently broke the progress bar by
converting to the wrong data type. (See issue #561 / PR #609).

While checking the code I realized the problem occurred primarily
because we weren't checking the validity of the values closer to the
source. Doing so alleviates the need to check elsewhere.

In the hope of inspiring a more systematic approach, a new uiParse()
utility function has been added to curb the further growth of toXxx()
functions that exist solely to validate user input.

There is no doubt room for improvement, both on the end of the new
uiParse() function as well as the spot where it is used. Ideally, the
data that comes out of the model should already be 'safe', but since
this is a bugfix for a bugfix I want to keep waves to a minimum.

This commit fixes issue #652.
2019-09-23 14:13:38 -06:00
..
editors Restore progress bar functionality 2019-09-23 14:13:38 -06:00
exporters Fix dialog windows being created outside the desktop area 2019-05-20 09:25:17 -06:00
highlighters Fix word recognition for spell checker, ignore active partial words 2019-09-22 10:28:49 -06:00
importers Use native look for the import FileDialog 2019-09-04 14:18:02 -06:00
tools Set default window tab to Word frequency for Frequency Analyzer tool 2019-09-13 10:00:29 -06:00
views Fix misc. typos 2019-09-19 09:58:24 -06:00
__init__.py Renaming source folder 2016-02-06 08:38:33 +01:00
about.py Update copyright year 2019-04-04 10:33:08 -06:00
about_ui.py Put software version in one sigle label to allow easier copy/pasting 2017-10-11 08:32:44 +02:00
about_ui.ui Put software version in one sigle label to allow easier copy/pasting 2017-10-11 08:32:44 +02:00
cheatSheet.py Clear Cheatsheet results when filter text empty 2018-08-14 09:04:00 -06:00
cheatSheet_ui.py Flatified a lot of buttons, and added some stylesheets 2016-04-08 14:49:15 +02:00
cheatSheet_ui.ui Flatified a lot of buttons, and added some stylesheets 2016-04-08 14:49:15 +02:00
collapsibleDockWidgets.py Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
collapsibleGroupBox.py Removes most of hard-coded colors 2017-11-14 14:56:11 +01:00
collapsibleGroupBox2.py Removes most of hard-coded colors 2017-11-14 14:56:11 +01:00
helpLabel.py Cleaning up imports, at last 2016-02-06 12:34:22 +01:00
mainWindow.py Fix tab key order, and default window tab for character pane and plot pane 2019-09-13 10:00:29 -06:00
mainWindow.ui Fix tab key order, and default window tab for character pane and plot pane 2019-09-13 10:00:29 -06:00
revisions.py Changes Outline enums to IntEnum 2017-11-15 20:58:12 +01:00
revisions_ui.py Adds a few more icons 2017-10-16 10:48:04 +02:00
revisions_ui.ui Adds a few more icons 2017-10-16 10:48:04 +02:00
search.py Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
search_ui.py Some more UI tweaks 2016-04-12 00:01:51 +02:00
search_ui.ui Some more UI tweaks 2016-04-12 00:01:51 +02:00
settings_ui.py Fix typo missed in two previous commits 2019-09-19 10:38:16 -06:00
settings_ui.ui Fix misc. typos 2019-09-19 09:58:24 -06:00
statusLabel.py Fixes #307: Overlay status bar prevents access to add/delete world item icons when displaying a message 2018-01-22 18:19:22 +01:00
style.py Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
welcome.py fix issue #468 'unit' is reset 2019-06-05 10:34:11 -06:00
welcome_ui.py Fix typos that are visible to end-users. 2018-01-29 10:30:41 -07:00
welcome_ui.ui Fix typos that are visible to end-users. 2018-01-29 10:30:41 -07:00