mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Show dive import error messages in the import dialog
.. not in the main window. And leave the import dialog open, so that you can either try doing it again, or cancel. This makes it much easier to re-try a failed dive import, and actually makes the failure more obvious too. Todo: - make the "Ok" button change to "Retry" when an error happens - try to see if we can catch the actual status update messages from libdivecomputer and show them too in the import dialog. Right now they are printed out to stderr by the library. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c8f3dc3594
commit
b0ba22a068
3 changed files with 30 additions and 8 deletions
|
@ -34,6 +34,6 @@ struct device_list {
|
|||
};
|
||||
|
||||
extern struct device_list device_list[];
|
||||
extern void do_import(device_data_t *data);
|
||||
extern GError *do_import(device_data_t *data);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue