QTfrontend/pages.cpp
branchexperimental3D
changeset 4006 45b63c2a694f
parent 4004 b1c2c2f6fc5e
child 4343 19cbea33e4d2
equal deleted inserted replaced
4004:b1c2c2f6fc5e 4006:45b63c2a694f
   776     }
   776     }
   777 }
   777 }
   778 
   778 
   779 void PageOptions::setFullscreen(void)
   779 void PageOptions::setFullscreen(void)
   780 {
   780 {
       
   781     int tmp = this->CBResolution->currentIndex();
       
   782     if (this->CBFullscreen->isChecked())
       
   783         this->CBResolution->setCurrentIndex(0);
       
   784     else
       
   785         this->CBResolution->setCurrentIndex(previousResolutionIndex);
       
   786     previousResolutionIndex = tmp;
   781     this->CBResolution->setEnabled(!this->CBFullscreen->isChecked());
   787     this->CBResolution->setEnabled(!this->CBFullscreen->isChecked());
   782 }
   788 }
   783 
   789 
   784 PageNet::PageNet(QWidget* parent) : AbstractPage(parent)
   790 PageNet::PageNet(QWidget* parent) : AbstractPage(parent)
   785 {
   791 {