-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
GCODE Scripts changes not saved if moving to another settings screen #824
Comments
I'm honestly not seeing the problem here. You say when you click Save the changes do get applied. If you have to make multiple changes, just make multiple changes and save them all together at the end? Or am I missing something here? |
Make a change on one screen, but don't click save. Move to another screen, then back to the original one you made changes to. Changes are gone. |
Steps:
Expected: Result: Why is this the expected result? The steps I gave repro for me on devel: fcdb556 |
Please tell me what I'm doing wrong: Video |
Just checked this out on the latest devel branch and it seems to be keeping the changes when switching screens. |
Yep. That's it. Just verified in the debugger. In settings.js, self.onSettingsShown used to get called on every pane change and refresh the data from the server. After 3e5298f it doesn't. |
Perfect, another mystery solves then. I was honestly starting to doubt my
sanity here :)
|
Ok, also updated the Changelog, closing this |
Setting GCODE Scripts.
Changes to the GCODE Scripts to be saved if moved to another Settings screen.
Changes were lost with no warning they would not be saved.
Version: 1.2.0-dev-668-g3ebd54d (devel branch)
(if applicable - always include if unsure):
Printrbot Simple Metal
System running Browser (if applicable - always
include if unsure):
Chrome v41.0.2272.101 m
https://gist.github.com/10750a14d53beec5b38e.git
gist.github.com or pastebin.com (if applicable - always
include if unsure or reporting communication issues):
on gist.github.com or pastebin.com or alternatively a
screenshot (if applicable - always include if unsure
or reporting UI issues):
n/a
include if unsure or reporting UI issues):
n/a
I have read the FAQ.
If I click the save button, it does save the changes, but closes the settings window. This is annoying when you have several changes to make. Adding an APPLY button would resolve the issue. If changing to another settings screens and there are unsaved changes, a warning message could be displayed.
The text was updated successfully, but these errors were encountered: