Fixing a few small mistakes.

This commit is contained in:
Vishal 2024-05-19 04:44:27 +05:30 committed by GitHub
parent 11f776a5ef
commit 109f0660ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@
pop-up web dialog to avoid taking users out of the app. This currently works pop-up web dialog to avoid taking users out of the app. This currently works
on the native (not cmake) Mac build but will probably expand to others in the on the native (not cmake) Mac build but will probably expand to others in the
future. future.
- The `ba*.app.env.version` `and ba*.app.env.build_number` values are now - The `ba*.app.env.version` and `ba*.app.env.build_number` values are now
`ba*.app.env.engine_version` and `ba*.app.env.engine_build_number`. At this `ba*.app.env.engine_version` and `ba*.app.env.engine_build_number`. At this
point any functionality that cares about versions should be looking at engine point any functionality that cares about versions should be looking at engine
version anyway. In the future we can add separate `app_version` and version anyway. In the future we can add separate `app_version` and

View File

@ -388,7 +388,10 @@ class PluginWindow(bui.Window):
edit=check, edit=check,
up_widget=self._back_button, up_widget=self._back_button,
left_widget=self._back_button, left_widget=self._back_button,
right_widget=self._settings_button, right_widget=(
self._settings_button if button is None else
button
),
) )
if button is not None: if button is not None:
bui.widget(edit=button, up_widget=self._back_button) bui.widget(edit=button, up_widget=self._back_button)