From 5ac50650458fc3c30b3ba135cdb591148898fa0f Mon Sep 17 00:00:00 2001 From: David Freese Date: Thu, 11 Oct 2012 13:47:21 -0500 Subject: [PATCH] Logbook Dialogs * Changed modality of Export and Cabrillo dialogs to fix issue on OS X with hidden calendar pop up. --- src/logbook/lgbook.cxx | 2 -- src/logbook/lgbook.fl | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/logbook/lgbook.cxx b/src/logbook/lgbook.cxx index 5cb055f8..2e6a3693 100644 --- a/src/logbook/lgbook.cxx +++ b/src/logbook/lgbook.cxx @@ -557,7 +557,6 @@ void create_logbook_dialogs() { } // Fl_Button* btnSetFieldDefaults o->end(); } // Fl_Group* o - wExport->set_modal(); wExport->end(); } // Fl_Double_Window* wExport { dlgLogbook = new Fl_Double_Window(590, 514, _("Logbook")); @@ -1105,7 +1104,6 @@ void create_logbook_dialogs() { } // Fl_Button* btnCabCheckAllFields o->end(); } // Fl_Group* o - wCabrillo->set_modal(); wCabrillo->end(); } // Fl_Double_Window* wCabrillo } diff --git a/src/logbook/lgbook.fl b/src/logbook/lgbook.fl index 63488d5f..523c30e8 100644 --- a/src/logbook/lgbook.fl +++ b/src/logbook/lgbook.fl @@ -24,7 +24,7 @@ Function {create_logbook_dialogs()} {open return_type void } { Fl_Window wExport { label {Export Setup} - xywh {517 143 675 439} type Double hide modal + xywh {517 143 675 439} type Double visible } { Fl_Group {} { label {Select Records to Export} @@ -307,7 +307,7 @@ btnSelectNotes->value(0);} } } Fl_Window dlgLogbook { - label Logbook open + label Logbook xywh {603 71 590 514} type Double resizable visible } { Fl_Input inpDate_log { @@ -467,7 +467,7 @@ btnSelectNotes->value(0);} class Fl_Input2 } Fl_Input txtNbrRecs_log { - label Recs selected + label Recs tooltip {\# Records in logbook} xywh {54 284 65 22} class Fl_Input2 } @@ -528,8 +528,8 @@ wBrowser->allowResize (1); wBrowser->gridEnabled (0); dlgLogbook->xclass(PACKAGE_TARNAME);} {} Fl_Window wCabrillo { - label {Cabrillo Setup} - xywh {516 612 675 340} type Double hide modal + label {Cabrillo Setup} selected + xywh {516 612 675 340} type Double hide } { Fl_Group {} { label {Select Records to Export} open