Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Krita
Commits
3b5eb4e6
Commit
3b5eb4e6
authored
Nov 10, 2021
by
Halla Rempt
Browse files
Set focus on the first widget in the dialog instead of the ok button
BUG:444806
BUG:445250
(cherry picked from commit
4588d993
)
parent
ee19ed32
Pipeline
#96007
skipped with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libs/ui/imagesize/dlg_imagesize.cc
View file @
3b5eb4e6
...
...
@@ -281,6 +281,8 @@ DlgImageSize::DlgImageSize(QWidget *parent, int width, int height, double resolu
m_page
->
adjustPrintSizeSeparatelyCkb
->
setChecked
(
cfg
.
readEntry
<
bool
>
(
PARAM_PRINT_SIZE_SEPARATE
,
false
));
setMainWidget
(
m_page
);
m_page
->
pixelWidthDouble
->
setFocus
();
}
DlgImageSize
::~
DlgImageSize
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment