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
Marco Bubke
flatpak-qt-creator
Commits
b4e99074
Commit
b4e99074
authored
Jan 15, 2010
by
hjk
Browse files
debugger: better positioning of current entry when deleting breakpoints
parent
389033d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/breakwindow.cpp
View file @
b4e99074
...
...
@@ -282,7 +282,7 @@ void BreakWindow::deleteBreakpoints(QList<int> list)
for
(
int
i
=
list
.
size
();
--
i
>=
0
;
)
emit
breakpointDeleted
(
list
.
at
(
i
));
const
int
row
=
qM
ax
(
firstRow
,
model
()
->
rowCount
()
-
list
.
size
()
-
1
);
const
int
row
=
qM
in
(
firstRow
,
model
()
->
rowCount
()
-
1
);
if
(
row
>=
0
)
setCurrentIndex
(
model
()
->
index
(
row
,
0
));
}
...
...
Write
Preview
Supports
Markdown
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