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 // |