https://bugs.documentfoundation.org/show_bug.cgi?id=56899

--- Comment #17 from Hossein <[email protected]> ---
(In reply to Heiko Tietze from comment #16)
> sfx2/source/doc/guisaveas.cxx ModelData_Impl::GetDocServiceAnyFilter()
> returns a list with currently webp as the default. No idea how and where
> this list is filled with content, which is needed to sort resp. pick the
> last used item. Hossein, any idea?
With these two instructions, one can get and set the current filter of the file
picker:

        xFilePicker->getCurrentFilter();
        xFilePicker->setCurrentFilter();

It wouldn't be hard to save the current filter in a member variable, and set it
later.

On the other hand, one can see mentions of PreselectedFilterProps which is
relevant here. I need to debug more to find out what is the best way to do it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to