diff options
| author | ruki <[email protected]> | 2018-01-16 22:37:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-01-16 09:43:29 +0800 |
| commit | 4bc80943272b031e41a7047f795d85a04682cbd6 (patch) | |
| tree | 4276043c0055ef7247d5fffd080b3490ccda7a28 /xmake/core/ui/boxdialog.lua | |
| parent | 3b822fc48d1b11055e12463872c22950d2c61b4d (diff) | |
improve select view
Diffstat (limited to 'xmake/core/ui/boxdialog.lua')
| -rw-r--r-- | xmake/core/ui/boxdialog.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/ui/boxdialog.lua b/xmake/core/ui/boxdialog.lua index d46b2ed09..7174da28a 100644 --- a/xmake/core/ui/boxdialog.lua +++ b/xmake/core/ui/boxdialog.lua @@ -43,6 +43,9 @@ function boxdialog:init(name, bounds, title) -- resize text self:text():bounds().ey = 3 + + -- select buttons by default + self:panel():select(self:buttons()) end -- get box |
