git-svn-id: svn://db.shs.com.ru/libs@357 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -29,7 +29,6 @@ CDKView::~CDKView() {
|
||||
|
||||
void CDKView::refresh() {
|
||||
if (!kmodel) {
|
||||
//K.reinitConnection(K.pultConfig());
|
||||
kmodel = new CDKItemModel();
|
||||
setModel(kmodel);
|
||||
setItemDelegateForColumn(4, new CDKDelegate());
|
||||
@@ -75,6 +74,7 @@ void CDKView::loadK() {
|
||||
|
||||
|
||||
void CDKView::clearK() {
|
||||
//piCout << "clearK";
|
||||
K.root() = CDSection();
|
||||
refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user