src/mainwindow.cpp

changeset 1155
b0e004c8e3a4
parent 1154
a426a335e586
child 1156
c20ee66b6705
equal deleted inserted replaced
1154:a426a335e586 1155:b0e004c8e3a4
900 // 900 //
901 // Updates the object list. Right now this just rebuilds it. 901 // Updates the object list. Right now this just rebuilds it.
902 // 902 //
903 void MainWindow::refreshObjectList() 903 void MainWindow::refreshObjectList()
904 { 904 {
905 #if 0
906 ui.objectList->clear();
907 LDDocument* f = getm_currentDocument;
908
909 for (LDObject* obj : *f)
910 ui.objectList->addItem (obj->qObjListEntry);
911
912 #endif
913
914 buildObjectList(); 905 buildObjectList();
915 } 906 }
916 907
917 // --------------------------------------------------------------------------------------------------------------------- 908 // ---------------------------------------------------------------------------------------------------------------------
918 // 909 //

mercurial