Logo Search packages:      
Sourcecode: pauker version File versions  Download package

void pauker::program::gui::swing::PaukerFrame::somethingHasChanged (  )  [inline]

must be called when something changed at the current lesson that must be saved before exiting Pauker

Definition at line 679 of file PaukerFrame.java.

Referenced by addCard(), openFiles(), and pushCurrentCard().

                                      {
        if (!somethingChanged) {
            somethingChanged = true;
            currentTitle = '*' + currentTitle;
            setTitle(currentTitle);
            if (Pauker.getLearningPhase() == Pauker.LearningPhase.NOTHING) {
                saveButton.setEnabled(true);
                saveMenuItem.setEnabled(true);
            }
        }
    }


Generated by  Doxygen 1.6.0   Back to index