This website works better with JavaScript.
Home
Explore
Help
Sign In
goinv
/
client
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix: forgot return in setGeneralInfoPrevFocus
master
Brett Bender
2 years ago
parent
260740419d
commit
168187f3d1
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
internal/ui/assets/astdialogs/create.go
+2
-0
internal/ui/assets/astdialogs/edit.go
+ 2
- 0
internal/ui/assets/astdialogs/create.go
View File
@ -662,6 +662,8 @@ func (d *AssetCreateDialog) setGeneralInfoPrevFocus() {
if
d
.
assetPriceField
.
HasFocus
(
)
{
d
.
focusElement
=
createAssetModelFieldFocus
return
}
d
.
focusElement
=
createAssetPriceFieldFocus
+ 2
- 0
internal/ui/assets/astdialogs/edit.go
View File
@ -677,6 +677,8 @@ func (d *AssetEditDialog) setGeneralInfoPrevFocus() {
if
d
.
assetPriceField
.
HasFocus
(
)
{
d
.
focusElement
=
createAssetModelFieldFocus
return
}
d
.
focusElement
=
createAssetPriceFieldFocus
Write
Preview
Loading…
Cancel
Save