Skip to content

Commit

Permalink
Fixes #298
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyLB committed Apr 10, 2019
1 parent d426cf8 commit c48ee8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piwigo/Settings/SettingsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,7 @@ - (IBAction)updateDiskCacheSize:(id)sender
![Model sharedInstance].hadOpenedSession)
{
// Bypass the Upload section
if (section > SettingsSectionImages) section++;
if (section > SettingsSectionImages) section--;
}

SliderTableViewCell *sliderSettingsDisk = (SliderTableViewCell*)[self.settingsTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:section]];
Expand All @@ -2191,7 +2191,7 @@ - (IBAction)updateMemoryCacheSize:(id)sender
![Model sharedInstance].hadOpenedSession)
{
// Bypass the Upload section
if (section > SettingsSectionImages) section++;
if (section > SettingsSectionImages) section--;
}

SliderTableViewCell *sliderSettingsMem = (SliderTableViewCell*)[self.settingsTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:2 inSection:section]];
Expand Down

0 comments on commit c48ee8f

Please sign in to comment.