QTfrontend/ui/widget/mapContainer.cpp
changeset 8453 06541556df53
parent 8434 4821897a0f10
child 8467 dc53b4b66fa0
equal deleted inserted replaced
8452:170afc3ac39f 8453:06541556df53
   885     return m_master;
   885     return m_master;
   886 }
   886 }
   887 
   887 
   888 void HWMapContainer::setMaster(bool master)
   888 void HWMapContainer::setMaster(bool master)
   889 {
   889 {
   890     if (master == m_master) return;
       
   891     m_master = master;
   890     m_master = master;
   892 
   891 
   893     foreach (QWidget *widget, m_childWidgets)
   892     foreach (QWidget *widget, m_childWidgets)
   894         widget->setEnabled(master);
   893         widget->setEnabled(master);
   895 }
   894 }