Only show save as button for files that allow it.

This commit is contained in:
con
2010-12-01 12:52:17 +01:00
parent 964236c816
commit be3bb25068
2 changed files with 3 additions and 2 deletions

View File

@@ -840,7 +840,7 @@ FileManager::ReadOnlyAction
return RO_OpenVCS;
if (clickedButton == makeWritableButton)
return RO_MakeWriteable;
if (clickedButton == saveAsButton)
if (displaySaveAsButton && clickedButton == saveAsButton)
return RO_SaveAs;
return RO_Cancel;
}