Fixed Profile Viewing
This commit is contained in:
@@ -142,7 +142,7 @@ MyStackViewPage {
|
||||
onClicked: {
|
||||
if (steamvrProfileComboBox.currentIndex > 0) {
|
||||
SteamVRTabController.applySteamVRProfile(steamvrProfileComboBox.currentIndex - 1)
|
||||
steamvrProfileComboBox.currentIndex = 0
|
||||
//steamvrProfileComboBox.currentIndex = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -440,6 +440,9 @@ MyStackViewPage {
|
||||
onSteamVRProfilesUpdated: {
|
||||
reloadSteamVRProfiles()
|
||||
}
|
||||
onSteamVRProfileAdded:{
|
||||
steamvrProfileComboBox.currentIndex = SteamVRTabController.getSteamVRProfileCount()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,6 +117,7 @@ void SteamVRTabController::saveSteamVRProfiles()
|
||||
settings->setValue( "supersampleFiltering",
|
||||
p.supersampleFiltering );
|
||||
}
|
||||
settings->setValue("motionSmooth", p.motionSmooth);
|
||||
/*
|
||||
settings->setValue( "includesReprojectionSettings",
|
||||
p.includesReprojectionSettings );
|
||||
@@ -641,6 +642,7 @@ void SteamVRTabController::addSteamVRProfile( QString name,
|
||||
saveSteamVRProfiles();
|
||||
OverlayController::appSettings()->sync();
|
||||
emit steamVRProfilesUpdated();
|
||||
emit steamVRProfileAdded();
|
||||
}
|
||||
|
||||
void SteamVRTabController::applySteamVRProfile( unsigned index )
|
||||
|
||||
@@ -120,6 +120,7 @@ signals:
|
||||
void allowSupersampleFilteringChanged( bool value );
|
||||
|
||||
void steamVRProfilesUpdated();
|
||||
void steamVRProfileAdded();
|
||||
};
|
||||
|
||||
} // namespace advsettings
|
||||
|
||||
Reference in New Issue
Block a user