mirror of
https://github.com/tnodir/fort
synced 2024-11-15 12:20:31 +00:00
Fix last commit.
This commit is contained in:
parent
be9a5eebda
commit
e41a2c8231
2
src/3rdparty/qcustomplot/qcustomplot.cpp
vendored
2
src/3rdparty/qcustomplot/qcustomplot.cpp
vendored
@ -15330,7 +15330,7 @@ void QCustomPlot::processRectSelection(QRect rect, QMouseEvent *event)
|
|||||||
if (!potentialSelections.isEmpty())
|
if (!potentialSelections.isEmpty())
|
||||||
{
|
{
|
||||||
auto it = potentialSelections.begin();
|
auto it = potentialSelections.begin();
|
||||||
auto last = potentialSelections.end(); --last;
|
auto last = --potentialSelections.end();
|
||||||
while (it != last) // erase all except last element
|
while (it != last) // erase all except last element
|
||||||
it = potentialSelections.erase(it);
|
it = potentialSelections.erase(it);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user