Only update mountpoint on Accept when empty.
Always updating the mountpoint overwrites a manually entered mountpoint (only available in debug builds). Change-Id: I6298cb873496d66f4836f219e89ca8ae17261de9
This commit is contained in:
parent
d7ead706a7
commit
a32cbf3346
1 changed files with 3 additions and 1 deletions
|
@ -152,7 +152,9 @@ void Config::accept()
|
|||
RbSettings::setValue(RbSettings::Language, language);
|
||||
|
||||
// make sure mountpoint is read from dropdown box
|
||||
updateMountpoint(ui.mountPoint->currentIndex());
|
||||
if(mountpoint.isEmpty()) {
|
||||
updateMountpoint(ui.mountPoint->currentIndex());
|
||||
}
|
||||
|
||||
// mountpoint
|
||||
if(mountpoint.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue