diff --git a/application/ProtocolTemplate.cpp b/application/ProtocolTemplate.cpp index 490e783..0caac8f 100644 --- a/application/ProtocolTemplate.cpp +++ b/application/ProtocolTemplate.cpp @@ -309,5 +309,9 @@ ProtocolTemplate::Save(BView* parent, BMessage* settings, BString* errorText) settings->AddString(name, textView->Text()); } + BMessage hidden; + if (fTemplate->FindMessage("hidden", &hidden) == B_OK) + settings->AddMessage("hidden", &hidden); + return B_OK; }