summaryrefslogtreecommitdiff
path: root/fpicker/source/aqua/ControlHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/aqua/ControlHelper.hxx')
-rw-r--r--fpicker/source/aqua/ControlHelper.hxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/fpicker/source/aqua/ControlHelper.hxx b/fpicker/source/aqua/ControlHelper.hxx
index 4dbee2e818fe..081377a24dc6 100644
--- a/fpicker/source/aqua/ControlHelper.hxx
+++ b/fpicker/source/aqua/ControlHelper.hxx
@@ -127,7 +127,7 @@ public:
}
inline bool isAutoExtensionEnabled() {
- return m_bAutoFilenameExtension;
+ return ([((NSButton*) m_pToggles[AUTOEXTENSION]) state] == NSOnState);
}
private:
@@ -168,16 +168,6 @@ private:
/** indicates if a filter control is needed */
bool m_bIsFilterControlNeeded;
- /*
- * With issue #78852 the GUI option to set automatic filename extension was removed but
- * so far the setting is still in effect and so the value for has to be saved and possibly be restored
- * also.
- * But with issue #FILLME users were starting to get confused on Windows so we decided to have
- * autoextension always on and have it selectable for the user again.
- */
- /** indicates if a filename extension is to automatically be appended to a user entered file name */
- bool m_bAutoFilenameExtension;
-
/** a list with all actively used controls */
::std::list<NSControl*> m_aActiveControls;