Skip to content

Setting / Retrieving Document State #10322

@markusmoenig

Description

@markusmoenig

I need to set the edited state of a document so that I can show a dialog on an close event. Under Mac I can use BrowserWindow.setDocumentEdited(), but it seems this is not implemented on Windows ?

For me, isDocumentEdited() always returns false under Windows.

Even if setDocumentEdited() actually does not something visually under Windows, should it not at least store the state ? If not, how to store the state under Windows ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions