Merkaartor crashes on editing style None.mas #2200
Comments
Author: Koying More details, please... When did it crash? Saving? After a delete? After add? |
Author: openstreetmap.org[at]knackich.de I can confirm this problem. To reproduce:
Backtrace:
|
Author: openstreetmap.org[at]knackich.de I think the problem is just that for an empty list, the "current" list index is -1. The [attachment:2200.patch attached one-liner] fixes it for me. |
Author: koying (In [17844]) FIX : crashes on editing style None.mas by Stefan (Konink?) (fixes #2200) |
Reporter: stefan[at]konink.de
[Submitted to the original trac issue database at 8.04pm, Tuesday, 18th August 2009]
Subject says all... and lost me a bunch of work.
MerkaartorPreferences::fromOsmPref : "GET /api/0.6/user/preferences/"
Downloader::go: "/api/0.6/map?bbox=4.896132,52.367865,4.905856,52.373329"
ASSERT failure in QList::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 403
Afgebroken
The text was updated successfully, but these errors were encountered: