-
Notifications
You must be signed in to change notification settings - Fork 109
Adds save dirty checking event #647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds save dirty checking event #647
Conversation
9b30396 to
cff7fb9
Compare
Current coverage is 57.73% (diff: 60.00%)@@ master #647 diff @@
==========================================
Files 194 195 +1
Lines 6060 6078 +18
Methods 0 0
Messages 0 0
Branches 551 554 +3
==========================================
+ Hits 3497 3509 +12
- Misses 2400 2406 +6
Partials 163 163
|
|
This is a good opportunity to implement Undo/Redo as well |
|
@SamCarlberg Take a look at #359. Undo/Redo is for another day... |
| import java.util.Optional; | ||
|
|
||
| import javafx.beans.property.SimpleBooleanProperty; | ||
| import javafx.beans.value.ChangeListener; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JavaFX shouldn't be available in the core because it's not on the RoboRio. I don't know why this even compiles.
Can you check the build.gradle to see why you can even import javafx from within the core.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JavaFX is bundled in the desktop JRE, so it compiles fine. Project Jigsaw solves this, but it's getting released in March...
542c4d2 to
cc5620c
Compare
cc5620c to
9d52740
Compare
|
LGTM |
|
GTG |
Fix bug introduced in #647
closes #359
#359 & adds "Edited" to the title bar when the project is dirty.