fixed up the login panel some more, all of the version spinners are there
This commit is contained in:
@@ -78,7 +78,9 @@
|
||||
#include "llglheaders.h"
|
||||
|
||||
// <edit>
|
||||
#include "llappviewer.h"
|
||||
#include "llappviewer.h"
|
||||
#include "llspinctrl.h"
|
||||
#include <boost/lexical_cast.hpp>
|
||||
// </edit>
|
||||
#define USE_VIEWER_AUTH 0
|
||||
|
||||
@@ -385,7 +387,8 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
|
||||
getChild<LLLineEditor>("id0_edit")->setEnabled(specify_id0);
|
||||
|
||||
fillMAC();
|
||||
fillID0();
|
||||
fillID0();
|
||||
fillVer();
|
||||
|
||||
childSetCommitCallback("mac_check", onCheckMAC, this);
|
||||
childSetCommitCallback("id0_check", onCheckID0, this);
|
||||
@@ -420,6 +423,14 @@ void LLPanelLogin::fillID0()
|
||||
{
|
||||
getChild<LLLineEditor>("id0_edit")->setText(LLAppViewer::instance()->getSerialNumber());
|
||||
}
|
||||
}
|
||||
|
||||
void LLPanelLogin::fillVer()
|
||||
{
|
||||
getChild<LLSpinCtrl>("vermaj_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionMaj"));
|
||||
getChild<LLSpinCtrl>("vermin_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionMin"));
|
||||
getChild<LLSpinCtrl>("verpatch_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionPatch"));
|
||||
getChild<LLSpinCtrl>("verbuild_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionBuild"));
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
Reference in New Issue
Block a user