1. simon_linden
  2. viewer-rabbit

Commits

Vadim Savchuk  committed 8a5093e

EXP-1762 FIXED Pre-select current window resolution.

  • Participants
  • Parent commits c0ee84b
  • Branches default

Comments (0)

Files changed (1)

File indra/newview/llfloatersnapshot.cpp

View file
 	gFloaterView->removeChild(this);
 	gSnapshotFloaterView->addChild(this);
 
+	// Pre-select "Current Window" resolution.
+	getChild<LLComboBox>("profile_size_combo")->selectNthItem(0);
+	getChild<LLComboBox>("postcard_size_combo")->selectNthItem(0);
+	getChild<LLComboBox>("texture_size_combo")->selectNthItem(0);
+	getChild<LLComboBox>("local_size_combo")->selectNthItem(0);
+	getChild<LLComboBox>("local_format_combo")->selectNthItem(0);
+
 	impl.mPreviewHandle = previewp->getHandle();
 	impl.updateControls(this);
 	impl.updateLayout(this);