Re: TreeView - First element
- From: Adam Chyła <adam chyla gmail com>
- To: daniel kitta googlemail com, gtkmm-list gnome org
- Subject: Re: TreeView - First element
- Date: Wed, 6 Jan 2010 15:40:52 +0100
It works.
Thank You.
2010/1/5 Daniel Elstner
<daniel kitta googlemail com>
Hi,
Am Dienstag, den 05.01.2010, 05:44 -0800 schrieb Adam Chyla [PL]:
You were simply not testing whether the position after the selected item
is actually valid. The corrected code is attached.
Note that I used operator bool() instead of comparing against the end()
iterator, but I did so only for convenience. Either way works.
Cheers,
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]