Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nate Graham
Kid3
Commits
b42102e2
Commit
b42102e2
authored
Dec 17, 2008
by
Urs Fleisch
Browse files
adjust columns widths to contents
parent
3ef4afcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
kid3/kid3/importselector.cpp
View file @
b42102e2
...
...
@@ -870,6 +870,8 @@ void ImportSelector::showPreview() {
addAdditionalFrameColumns
(
*
it
,
row
);
++
row
;
}
m_tab
->
scrollToTop
();
m_tab
->
resizeColumnsToContents
();
m_tab
->
setVerticalHeaderLabels
(
vLabels
);
#else
m_tab
->
setNumRows
(
0
);
...
...
@@ -909,6 +911,12 @@ void ImportSelector::showPreview() {
addAdditionalFrameColumns
(
*
it
,
row
);
++
row
;
}
if
(
row
>
0
)
{
m_tab
->
ensureCellVisible
(
0
,
0
);
}
for
(
int
col
=
0
;
col
<
m_tab
->
numCols
();
++
col
)
{
m_tab
->
adjustColumn
(
col
);
}
#endif
// make time difference check
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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