Giter Site home page Giter Site logo

Comments (2)

tannerhelland avatar tannerhelland commented on August 9, 2024

.HasBeenSaved is now implemented as part of the pdImage class. The save button(s) on the main form are enabled/disabled based on that property. Per convention, the save button is disabled on image load (if the image was loaded from the hard drive - imported images obviously leave the save button enabled). The save button is disabled after a save has just been performed. Undo/Redo also effect the save button state - if Undo is used to return to the image's original state, the save button is once again disabled (for images on the hard disk). Redo re-enables the save option.

One odd case is if the user performs a series of actions on an image, then saves the image. Other software programs disable the Undo button at this point, but I don't like that - it may be useful to save an image, then Undo to a previous state and save, or start working from that point. In that case, the save button will be disabled on the initial save, but if the user clicks "Undo" and then "Redo," the save button will be re-enabled. I consider this a feature, not a bug.

I'm leaving this open because I still need to prompt the user re: unsaved images at program or image close, and that requires some INI work (so the user can turn off prompting).

from photodemon.

tannerhelland avatar tannerhelland commented on August 9, 2024

Fully implemented as of 78047db

from photodemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.