-void GuiNote::apply()
-{
- InsetNoteParams::Type type;
-
- if (dialog_->greyedoutRB->isChecked())
- type = InsetNoteParams::Greyedout;
- else if (dialog_->commentRB->isChecked())
- type = InsetNoteParams::Comment;
- else if (dialog_->framedRB->isChecked())
- type = InsetNoteParams::Framed;
- else if (dialog_->shadedRB->isChecked())
- type = InsetNoteParams::Shaded;
- else
- type = InsetNoteParams::Note;