Crash in autoprojectpart
Harald Fernengel
harry at kdevelop.org
Fri Nov 8 16:18:05 UTC 2002
Hi,
On Thursday 07 November 2002 18:35, Sebastian Kratzert wrote:
> There is a crash in autoproject/subprojectoptionsdlg.cpp. When you go to
> preferences of a directory without subprojects, and there select
> BuildOrder->"Move Down" it crashes. Because
> buildorder_listview->currentItem() returns 0.
>
> void SubprojectOptionsDialog::buildorderMoveDownClicked()
> {
> if (buildorder_listview->currentItem()->nextSibling() == 0) {
>
> I don't know If I have the "right" to fix such small bugs myself.
sure, just go ahead. If you are unsure about things, send a "cvs diff" to this
list.
Ideally, the Action "move down" should be disabled when there are no
subprojects. Still, ::buildorderMoveDownClicked() shouldn't crash if the
action is accidently enabled.
Best regards,
Harry
More information about the KDevelop-devel
mailing list