Changeset 75343 in vbox
- Timestamp:
- Nov 9, 2018 9:00:18 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 126473
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIScaleFactorEditor.cpp
r75340 r75343 74 74 } 75 75 m_pMonitorComboBox->setEnabled(iMonitorCount > 1); 76 /* If we have a single monitor select the "All Monitors" item in the combo 77 but make sure we retain the scale factor of the 0th monitor: */ 76 78 if (iMonitorCount <= 1) 79 { 80 if (m_scaleFactors.size() >= 2) 81 m_scaleFactors[0] = m_scaleFactors[1]; 77 82 m_pMonitorComboBox->setCurrentIndex(0); 83 } 78 84 m_pMonitorComboBox->blockSignals(false); 79 85 /* Update the slider and spinbox values if the combobox index has changed: */
Note:
See TracChangeset
for help on using the changeset viewer.