mirror of
https://github.com/1j01/textual-paint.git
synced 2024-10-27 01:41:29 +03:00
Fix "Show Details" not changing to "Hide Details" when expanding error
This commit is contained in:
parent
0c44759b28
commit
7a13659d48
@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Fixed behavior of Free-Form Select tool when melding with the canvas, when the selection was off-screen to the left or top (i.e. with negative coordinates).
|
||||
- Fixed Polygon tool closing the polygon when clicking quickly but moving between clicks, detected as a double-click.
|
||||
- In-progress curves/polygons are now re-colored immediately when a color is selected, instead of only when mousing over the canvas.
|
||||
- Fixed "Show Details" button label not changing to "Hide Details" when clicked, in error message dialogs.
|
||||
|
||||
## [0.2.0] - 2023-09-05
|
||||
|
||||
|
@ -493,7 +493,7 @@ class MessageBox(DialogWindow):
|
||||
"""Toggle the visibility of the error details."""
|
||||
self.details_widget.display = not self.details_widget.display
|
||||
button_text = _("Hide Details") if self.details_widget.display else _("Show Details")
|
||||
self.details_button.update(button_text)
|
||||
self.details_button.label = button_text
|
||||
|
||||
def on_mount(self):
|
||||
"""Called when the window is mounted."""
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user