help wanted from Windows and Mac experts...

Lubomir I. Ivanov neolit123 at gmail.com
Mon Oct 29 14:46:46 PDT 2012


here is a pretty simple solution to disable the [x], while a device is
being opened. similar to the [cancel] button in the "download" dialog.
once libDC reports it's again possible to use the [x] button.

TBH i'm not 100% sure why this works.
my other solution was in libdivecomputer.c using the variable
"import_thread_done", but then i realized that the UI update itself is
in the main thread.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Don-t-close-the-download-dialog-while-a-device-is-be.patch
Type: application/octet-stream
Size: 1570 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20121029/4cf3cbe8/attachment-0001.obj>


More information about the subsurface mailing list