mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add support for printing only the selected dives
Right now we just implicitly decide "print only selected dives" when there is more than one dive selected (and then print all dives if only one dive is selected). We probably should have an checkbutton in the dive details page for the choice. But I wanted to avoid the pain that is gtk as far as possible for the initial implementation. The code is ready to be changed to just use a checkbutton instead. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
348afc3f57
commit
6a210e573d
2 changed files with 43 additions and 10 deletions
|
|
@ -28,6 +28,7 @@ extern void attach_tooltip(int x, int y, int w, int h, const char *text);
|
|||
|
||||
struct options {
|
||||
enum { PRETTY, TABLE } type;
|
||||
int print_selected;
|
||||
};
|
||||
|
||||
extern char zoomed_plot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue