Skip to content
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

"Edit" button to edit existing textblocks #65

Open
GeorgeCiesinski opened this issue May 28, 2020 · 1 comment
Open

"Edit" button to edit existing textblocks #65

GeorgeCiesinski opened this issue May 28, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@GeorgeCiesinski
Copy link
Owner

GeorgeCiesinski commented May 28, 2020

Description:

Add a button to edit existing textblocks

Solution:

  1. An edit button is placed on the root window under the textblocks display. Clicking this checks to ensure a textblock has been highlighted in the textblock window. If yes, it opens a toplevel widget with:
  • (Is this needed?) A dropdown list containing the directories setup in the config file & label naming the dropdown
  • A text input field for the shortcut & label naming the text input field. This will contain the existing shortcut and cannot be edited (greyed out)
  • A text input field for the textblock & label naming the text input field. This will contain the existing textblock and can be edited.
  • A save button
  1. Clicking save checks if any change has been made. If yes, it overwrites the existing file in the selected directory.
  2. Automatically reload textscript.
@GeorgeCiesinski GeorgeCiesinski self-assigned this May 28, 2020
@GeorgeCiesinski GeorgeCiesinski added the enhancement New feature or request label May 28, 2020
@GeorgeCiesinski GeorgeCiesinski added this to the 2.0 Release milestone May 28, 2020
@GeorgeCiesinski
Copy link
Owner Author

Added toplevel widget in commit 5fe1d97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant