1.1 --- a/branchpropwindow.cpp Mon Jun 29 10:28:28 2009 +0000
1.2 +++ b/branchpropwindow.cpp Tue Jul 07 09:34:24 2009 +0000
1.3 @@ -2,6 +2,7 @@
1.4
1.5 #include <QColorDialog>
1.6
1.7 +#include "branchitem.h"
1.8 #include "frameobj.h"
1.9 #include "settings.h"
1.10
1.11 @@ -63,7 +64,7 @@
1.12 branch=bo;
1.13 if (bo)
1.14 {
1.15 - qWarning ("BPW::setBranch");
1.16 + BranchItem *bi=(BranchItem*)(bo->getTreeItem());
1.17 ui.tabWidget->setEnabled (true);
1.18
1.19 // Frame
1.20 @@ -109,7 +110,7 @@
1.21 }
1.22
1.23 // Link
1.24 - if (branch->getHideLinkUnselected())
1.25 + if (bi->getHideLinkUnselected())
1.26 ui.hideLinkIfUnselected->setCheckState (Qt::Checked);
1.27 else
1.28 ui.hideLinkIfUnselected->setCheckState (Qt::Unchecked);